
Prerequisites
- React 18+ — Components are client-side React.
- Tailwind v4+ — Styling is Tailwind utility classes. Configure Tailwind so those classes compile, and add the semantic theme tokens Trophy expects (or map them to your design system).
- shadcn/ui structure — Maintain a project that already follows the shadcn/ui setup (
components.json, aliases, and optionalsrc/layout).
Getting Started
Components are available via the shadcn CLI:@/components/ui/<component>. If your components.json uses another directory or alias, update the import to match.
For props, variants, and data shapes, use each component’s API section on its doc page—see All components for the full list.