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

https://ark-ui.com

Installation

npx shadcn@latest add @ark-cn/clipboard

Usage

import * as Clipboard from "@/components/ui/clipboard"

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

API reference

This component mirrors the upstream Ark UI primitive.

See the ARK UI documentation for the full API.