Skip to content

Divider

A line between groups of content.

The frame above shows the real web components, in the mode this site is in.

The design preview shows it next to every other web component.

  • It is decorative, so it uses the low-contrast border color. Use it between the rows of a list.
import { Divider } from "@acme/ui";
<Divider />
Platform File
Web (React) packages/ui/src/Divider.tsx
Desktop (GPUI) crates/acme-ui/src/components.rs
React Native packages/ui-native/src/Card.tsx
Compose Multiplatform kotlin/ui/src/commonMain/kotlin/acme/ui/Card.kt