Horizontal or vertical rules between sections.
Add this item from the registry, or import it from the package after installing Default File UI.
Registry path
itsvigneshv/default-file-ui/separatorPackage import
import { Separator } from "@default-file/ui/components/df-separator"Default orientation.
Above
Below
Inline divider between items.
Horizontal or vertical rule between sections.
| Prop | Type | Default | Notes |
|---|---|---|---|
| orientation | "horizontal" | "vertical" | "horizontal" | Direction of the rule. |
| decorative | boolean | true | When true, treated as presentational for assistive tech. |
| className | string | — | Additional styles. |