shadcn.io is not affiliated with official shadcn/ui
Compliance Updates Changelog Block for React
Regulation changes as rows rail to rail: the law as a title, what changed, its effective date and stage, and a readiness bar that opens a list of its tasks.
Installation
Overview
A regulatory-change tracker for React with Base UI, written for Mandate, a fictional product. A start-aligned header sits over four rows on the page's lines. Each row names a law as its heading (the EU Data Act, the Cyber Resilience Act and the European Accessibility Act, in text only, with no seal or badge), says in a sentence what changed, shows the day it takes effect with an icon and a word (Upcoming or In effect), and a readiness line: a bar and 4 of 5 tasks. That line is a Collapsible trigger that opens the row's tasks, each marked Done or To do. It's built from Collapsible, Progress and Guides. The effective dates are the laws' own; the one-line summaries are short and not legal advice, and the tasks and progress are example data.
FAQ
How do I add a regulation?
Add an entry to REGULATIONS: a name, a one-sentence change, the fixed effective ISO date, a stage and its tasks (each a text and a done flag). The readiness text and the bar are computed from the tasks.
Is this legal advice or a compliance claim?
No. The block names laws as text and says in a quiet line that summaries are examples, not legal advice. It has no seals, logos or certification wording. Check each date and summary against the official text before you publish your own.
Related
- Pro
Deprecation Notices Changelog
APIs and integrationsFour deprecation notices, each a window bar from the day it was announced to the day it sunsets, filled to an as-of day with a tick, with the days counted and the replacement named.
- Pro
Release Band SLA Compliance
Incidents and uptimeA band of three release cells for a managed-service reporting product: uptime, p95 response and first reply with the target beside the actual, a check or a ring for each, and a breach count in each foot.
- Pro
Checklist Style Changelog
Votes and sharingA "tried it" checklist of the six latest things a task board shipped: a real checkbox per feature with its version and day, a count in the header and a meter that fills as you tick.
- Pro
Release Blockers Changelog
Deploys and rolloutsA verdict header counted from the data with a cleared bar, a toggle group (Open, Cleared, All) and an inset framed table of blockers with owners, states as shapes and words, and the day each was opened.
- Pro
Enterprise Updates Changelog
Spotlights and mediaSix enterprise capabilities as a three-by-two grid of cells with overshoot, each with an icon plate, a lock badge and the release it shipped in, and a closing band with a Talk to sales Shine Button.
- Pro
Feature Sunset Changelog
Roadmap and customersFour retiring features as ruled Collapsible rows with a four-square phase meter; each opens to its four phases, who is affected and its replacement, and a toggle group filters by area.