Fixtures
A list of matches or events grouped by date, with scores.
Winter cup
Friday, December 4
Saturday, December 5
When to use
- Showing a sports schedule and results.
When not to use
- A single event.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/fixtures
Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
Fixtures
4 props
PropTypeDefault
fixtures *readonly Fixture[]—
titlestring"Fixtures"
onSelect((id: string) => void)—
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-label, aria-expanded and aria-hidden in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/fixtures.mdThe index of every part is at /llms.txt.