Filigran

Separator Example

Before the horizontal separator
After the vertical separator
Before the vertical separator
After the vertical separator

How to use this separator

Props

NameTypeDefaultDescription
orientationenum ("horizontal" | "vertical")"horizontal"Change the default rendered element for the one passed as a child, merging their props and behavior.
decorativebooleantrueWhether or not the component is purely decorative. When true, accessibility-related attributes are updated so that that the rendered element is removed from the accessibility tree.

Playground

Import from @filigran/ui :

Import {Separator} from '@filigran/ui'