shadcn.io is not affiliated with official shadcn/ui
Agenda Schedule Blog Block for React
A newsroom's upcoming posts as an agenda grouped by day, with a Select that shows every time in UTC, New York or Tokyo, in place.
Installation
Overview
An upcoming-posts agenda for React with Base UI, written for Slotwise, a newsroom workflow tool's blog. A header with the count ("7 posts") and a Select for the time zone sits over an agenda that runs from rail to rail: one group per day (Tuesday, Nov 3, 2026, and so on), each with its rows. A row has the time, the title as its one link, the author and a state, Scheduled, In review or Draft, as an icon and a word. Choosing UTC, New York or Tokyo changes every time in place and a polite line says which zone is showing; the days and rows never move. A draft has no slot yet and says so. On a phone each time sits under its title. It's built from Select, Badge and Guides. For editorial calendars, release trains and any blog that publishes across time zones. The posts and times are example data.
FAQ
How do the time zones work?
Each zone is a fixed offset in minutes from UTC (UTC 0, New York −300, Tokyo +540), and every post's time is stored as minutes after midnight UTC. A time is the sum, wrapped to a day, so the server and every browser print the same thing and no Intl time-zone data is involved. The trade-off is that daylight saving is not modelled: the sample dates are in November, after the clocks change in New York.
Why does no post change day when I change zone?
The sample times are chosen between 07:00 and 14:00 UTC, which fall on the same date in all three zones. If you add a time outside that range, group it by the date in the chosen zone yourself, or keep the day label as the publishing day in UTC.
What do the states mean?
Scheduled has a slot and will go out; In review has a target time that may move; Draft has no time yet and its row says "No time yet". Each state is an icon and a word, never a colour alone.
Related
- Pro
Month Calendar Blog
Archives by dateA recipe blog's month as a grid of day buttons, one small square per post on each day, and a panel that lists the posts of the chosen day.
- 1415161718Pro
Week Board Blog
Archives by dateA news digest's week as five columns, Monday to Friday, each with a huge day numeral and that day's posts or a quiet 'No post', in a snap scroller on phones.
- Pro
Ticket Stub Event Blog
Story formatsEvent announcements as ticket stubs: a date tile, a perforated edge, the title, the place, a seats bar and a Register link.
- Pro
Drafts Desk Blog
Stats and draftsA drafts list for a writing-tools blog: each row has a status badge, a progress bar with its word count, the fixed time it was edited and a menu to edit, duplicate or archive it.
- Pro
Nested Accordion Archive Blog
Archives by dateA farm journal's archive as a nested accordion, years that open to months and months that open to posts, with counts worked out from the posts and an Expand all control.
- Pro
Vote Board Roadmap Blog
Reader feedbackUpcoming posts as numbered rows: a vote toggle with a rolling count, the title and what it will argue, and a drawn four-segment stage meter from Researching to Scheduled.