Recognition Timeline
ProNewHonors year by year, with the year held in the margin while its entries scroll and a badge beside each one.
Installation
pnpm dlx shadcn@latest add @viewport/recognition-timeline
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| years* | { year: number; items: Recognition[] }[]One entry per year, newest first, each with that year's honors. | — |
Accessibility
- An ordered list of years, each with a list of honors.
- Badges carry their own names; the rule and dots are decorative.
- Server component with no client JavaScript.