A shadcn-style separator component built with Ark UI primitives.

Top section

Bottom section

Blog
Docs
Source

Installation

npx shadcn@latest add @ark-cn/separator

Usage

import * as Separator from "@/components/ui/separator"

Read exported parts in src/components/ui/separator.tsx and compose the primitive according to the Ark UI pattern for this component.

Examples

Top section

Bottom section

Blog
Docs
Source

API reference

This component mirrors the upstream Ark UI primitive.

See the ARK UI documentation for the full API.