Skip to Content
DocsResourcesShowcase

Separator

Used to visually separate content

SourceStorybookRecipe

First

Second

Third

import { Separator } from '@saas-ui/react/separator'
<Separator />

Use the variant prop to change the appearance of the separator.

Use the size prop to change the size of the separator.

Compose the Separator with HStack to add a label.

Label (start)

Label (end)

Label (center)

Use the orientation prop to change the orientation of the separator.

First

Second

PropDefaultType
colorPalette 'gray'
'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'cyan' | 'purple' | 'pink' | 'accent'

The color palette of the component

variant 'solid'
'solid' | 'dashed' | 'dotted'

The variant of the component

orientation 'horizontal'
'vertical' | 'horizontal'

The orientation of the component

size 'sm'
'xs' | 'sm' | 'md' | 'lg'

The size of the component

Previous

Select

Next

Skeleton