shadcn.io is not affiliated with official shadcn/ui
Framework
UI library
Radix UI does not include this primitive, so this page uses the Ark UI component. The visuals match the Ark UI version.
Installation
bunx --bun shadcn@latest add https://kit.dev/r/radix/anatomy.jsonUsage
import {
Anatomy,
AnatomyCheck,
AnatomyPart,
AnatomyText,
} from "@/components/ui/anatomy";<Anatomy brand title="Checkbox anatomy">
<AnatomyPart
box
height={96}
name="root"
rx={14}
width={480}
x={360}
y={267}
>
<AnatomyPart
height={44}
name="control"
rx={8}
side="start"
tone="emphasis"
width={44}
x={26}
y={26}
>
<AnatomyCheck />
</AnatomyPart>
<AnatomyPart
height={96}
name="label"
side="bottom"
width={360}
x={86}
y={0}
>
<AnatomyText fontSize={32}>Checkbox Label</AnatomyText>
</AnatomyPart>
</AnatomyPart>
</Anatomy>Demos
Accordion
Action Bar
Toc
API Reference
Anatomy
PropType
children?React.ReactNodedir?AnatomyDirANATOMY_HEIGHT
PropType
ANATOMY_WIDTH
PropType
AnatomyPart
PropType
children?React.ReactNodeheight?numbername?stringtone?AnatomyTonewidth?numberAnatomyText
PropType
childrenstringAnatomyChevron
PropType
AnatomyCheck
PropType
AnatomyX
PropType