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

Installation

npx shadcn@latest add @ark-cn/checkbox

Usage

import * as Checkbox from "@/components/ui/checkbox"

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

Examples

Basic

Description

Disabled

Group

API reference

This component mirrors the upstream Ark UI primitive.

See the ARK UI documentation for the full API.

Accessibility

See the Ark UI documentation for clarification.