Layout

Divider

A separator line. It runs horizontal by default and can turn vertical or carry a label.

ReactVueWeb Components
View in Storybook

Playground

Examples

<Divider />
<Divider>または</Divider>
<Divider orientation="vertical" />

Props

Name Type Default Description
orientation DividerOrientation horizontal Orientation. @default 'horizontal'
strong boolean false Use the stronger border color. @default false
align 'start' | 'center' | 'end' center Horizontal alignment of the label, if any. @default 'center'
children ReactNode Optional centered label (horizontal only).

Accessibility

  • Body/background contrast is ≥ 7:1 (AAA) in both light and dark.
  • Every interaction works with the keyboard alone.
  • The focus ring is always visible.
  • Respects prefers-reduced-motion and stops excessive motion.

Every component is designed to meet WCAG 2.1 AAA.