Build faster with Premium Chakra UI Components 💎

Learn more
Skip to Content
DocsPlaygroundGuidesBlog
Sponsor

Separator

Used to visually separate content

SourceStorybookRecipe

First

Second

Third

Usage

import { Separator } from "@chakra-ui/react"
<Separator />

Examples

Variants

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

Sizes

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

Label

Use the label prop to add a label to the separator.

Label (start)

Label (end)

Label (center)

Vertical

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

First

Second

Props

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