Separator
Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
Tools for building high-quality, accessible UI.
ThemesPrimitivesIconsColors
API Reference
This component inherits props from the Separator primitive and supports common margin props.
Examples
Size
Use the size prop to control the size of the separator. The largest step takes full width or height of the container.
Color
Use the color prop to assign a specific color.
Orientation
Use the orientation prop to control whether the separator is horizontal or vertical.