Divider

Divider is used to display line separator between elements.

Source
Theme Source
pnpm dlx dreamy add divider

Divider creates a visual separation between sections of content. It can be horizontal or vertical and helps organize your layout.


<Divider />

You can change the orientation of the Divider by using the orientation prop.

Horizontal


Vertical


<Text semibold>Horizontal</Text>
<Divider orientation="horizontal" />
 
<Text semibold mt={4}>Vertical</Text>
<Divider orientation="vertical" h="100px" />

You can add a label between dividers to create a visual separation.


OR


<HStack w="full" align="center">
	<Divider />
	<Text semibold color="fg.medium">OR</Text>
	<Divider />
</HStack>