shadcn.io is not affiliated with official shadcn/ui
Quarter Tabs Awards Block for React
Underline tabs Q1 to Q4 of 2025 for a planning tool, each with its months and award count, a panel of that quarter's dated awards and an empty state for the quarter with none.
Installation
Overview
A quarter-by-quarter awards view for React with Base UI. A centred header counts the awards and how many quarters they fall in. A ruled band with + marks holds underline tabs, Q1 to Q4 of 2025, each with its months and a count; the open tab's panel lists that quarter's awards as rows with a small drawn mark, the award, its programme and category, and the date, newest first. Q3 has none, so its panel shows the catalog empty state ("No awards announced in Q3") instead of a blank. Every panel is stacked unseen under the open one, so the block keeps the height of the tallest and never moves when you switch. It's built from Guides, the catalog Tabs and Empty, inline SVG marks and your theme's tokens. The awards and the programme are made up for the example: replace them with your own.
FAQ
How do I change the quarters or the awards?
Edit QUARTERS: each quarter has an id, a label, its months and its awards (a title, a category, a fixed date and a shape). An empty awards array gives that quarter the empty state. The counts on the tabs and the header tally are counted from the list; PROGRAMME names who announced them.
What shows for a quarter with no awards?
The catalog Empty: a drawn calendar, the title "No awards announced in Q3" and a line saying what to expect. It is a real panel, so the tab still opens and a screen reader hears the same sentence.
Does the block change height between tabs?
No. Every panel, the empty one included, is copied unseen into the same grid cell as the open one, so the cell is as tall as the tallest. The copies are hidden from assistive technology and the keyboard.
Which keys work?
Tab moves focus into the tab list and then to the open panel; the arrow keys move between tabs and open each one, and Home and End jump to the first and last. This is the library's own tab behaviour.
Related
- Pro
Year Rail Timeline Awards
TimelinesA vertical rail of awards by year for a planning tool, a node for each year on a solid hairline with its awards as rows, and the older years behind a View earlier years Collapsible.
- Pro
Category Tabs Awards
Filters and searchUnderline tabs by award category, each with a count, over a two-column grid of awards with a drawn mark in a frame, beside a split divider.
- Pro
Year In Review Awards
Charts and figuresA recap of 2025 for a podcast app: a 2025 compared with 2024 description list of four figures with their change in words, a ranked list of the top three awards with drawn seals and three dated milestones.
- Pro
Annual Report Awards
Themed formatsA printed recognition report as a framed page for a farm-management suite: a drawn laurel cover at the start, a Highlights description list with dotted leaders and a four-segment quarter bar at the end.
- Pro
Milestone Lanes Awards
TimelinesTwo lanes on one quarter axis for a roadmap tool: company milestones above, awards below, a stepped hairline from each award to the milestone before it and the gap counted in months.
- Pro
Filterable Award List
Filters and searchEighteen awards in two columns narrowed by category chips and a year group, with a live count, a Clear filters button and an empty state.