Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

Divider

Divider is a component that represents a division between elements.

Source@yamada-ui/layouts

Import

import { Divider } from "@yamada-ui/react"
Copied!

Usage

Editable example

<Flex direction="column" gap="md">
  <Divider variant="solid" />

  <Divider variant="dashed" />

  <Divider variant="dotted" />
</Flex>
Copied!

Draw a vertical dividing line

Editable example

<Flex h="sm" gap="md">
  <Divider orientation="vertical" variant="solid" />

  <Divider orientation="vertical" variant="dashed" />

  <Divider orientation="vertical" variant="dotted" />
</Flex>
Copied!

Edit this page on GitHub

PreviousFloatNextAspectRatio