0.8.0
Nine components debut, from Accordion and HoverCard to Chart and CodeBlock
Spotlight
Accordion
A stack of expandable sections, in a default bordered list or separated cards. Panels animate through the kit's own CSS-only Collapse.
Chart
Describe a chart once with defineChart (its marks, scales and tooltip), then render it with Chart, colored from the kit's palette.
Changes
1 breaking change
- Avatar:
AvatarGroupis no longer exported on its own: useAvatar.Group
12added
1changed
2fixed
- breaking1
- Avatar#129
AvatarGroupis no longer exported on its own: useAvatar.Group - added12
- Accordion#120
New Accordion component
- HoverCard#116
New HoverCard component, where cards in a
HoverCard.Groupshare one sliding card - Indicator#118
New Indicator component
- Clipboard#119
New Clipboard component, with a ready-made
Copythat also takes a headless render prop - Rating#117
New Rating component on Ark UI's RatingGroup, with per-star colors and hover animations
- Kit#115
New
useDisclosurehook for open, close and toggle state - Chart#133
New Chart component wrapping TanStack Charts, with a
rendererprop for a fully custom renderer - #121
- CodeBlock#121
New CodeBlock component, highlighted by Shiki, with
CodeBlock.Buttonfor its toolbar - CodeBlock#130
CodeBlock.Static, an async Server Component variant - CodeBlock#130
Mark lines with
// [!code …]comments, shown in stacked gutter columns - CodeBlock#131
toDiffNotation(oldCode, newCode), from@42/ui-react/code-block/diff, writes that notation for a diff - changed1
- Avatar#129
Avatar.Groupcuts a transparent notch between stacked avatars instead of drawing a border - fixed2
- Kit#128
Reduced-motion overrides match Tailwind's compiled class names and respect the open/closed state
- Collapse#120
Collapse's owndata-statewins over one merged in throughasChild