shadcn.io is not affiliated with official shadcn/ui
SDK Versions Changelog Block for React
Client libraries in one tabbed window: a tab per language with its latest version, then that version large, its day, a support state as a shape and a word, the install command in a code region with a Copy button, and a table of the last three versions.
Installation
Overview
An SDK changelog for React with Base UI, written for Libshelf, a fictional set of client libraries for a booking API. Under a centred headline sits an inset framed window on the page's lines, its tab list on the top rule: JavaScript, Python, Go and Ruby, each with its latest version. A panel gives that version in large type, the day it shipped and the library's support state as a shape and a word (a filled square for Current, a half one for Maintenance, an empty one for Deprecated, with a short hint); then the install command in a focusable code region with a Copy button that tells screen readers when it has copied; then a table of the language's last three versions with what changed in each. Every language's panel is stacked unseen under the open one, so switching tabs never moves the page. It's built from Tabs, Copy Button, Guides and a native table, with CSS transitions for the entrance and your theme's tokens for every colour. For client-library pages, SDK release notes and any product that ships in several languages. The shelf command, the packages and the versions are example data.
FAQ
How do I change the languages and versions?
Edit SDKS at the top of the file. A language is an id, a name, its install command, a support state and its three latest releases (a version, an ISO date and a one-line note). The latest version in the tab, the large figure and the table all come from the first release, and the dates are spelled out by a small helper, so they read the same on the server and in every browser.
How is support shown without colour?
A shape and a word: a filled square and "Current", a half-filled square and "Maintenance", an empty square and "Deprecated", with a short hint beside each ("Security fixes only", "Ends Dec 31, 2026"). No status colour is used, so it reads the same in a greyscale theme.
What does the Copy button do?
It copies the command to the clipboard, swaps its icon for a check and, through a polite status line, tells screen readers "Copied the Python install command". If the clipboard refuses (a page not served over HTTPS, no permission) it says it couldn't copy. The command is also plain text in a focusable region, so it can be selected by hand and scrolls on a narrow phone.
How do the tabs work with a keyboard?
Tab enters the tab list, the arrow keys move between languages and select them, and Home and End jump to the ends. On a phone the tab list scrolls sideways when the four tabs don't fit. In a right-to-left layout the arrows follow the reading direction.
Related
- Pro
Version Tabs Changelog
Filters and browsingAn app platform's last four versions as compact monospace chip tabs on a window's top edge, each panel listing its changes with type tags in two columns of cells, on a height that never changes.
- Pro
Package Changelog
Packages and versionsOne package's changelog behind a version select: its semver bump, release day, weekly downloads that count on to each version's figure, a Migration guide link, the install command with a Copy button and the changes in an accordion of groups.
- Pro
API Versioning Matrix Changelog
APIs and integrationsA framed table of API versions with a status badge (Current, Supported, Deprecated, End of life), release and support-end days and a check or minus per capability, with a toggle group that rings one capability's column and says which versions have it.
- Pro
Platform Specific Changelog
Filters and browsingA band of four tabs (Web, iOS, Android, API) with an entry count each, over the chosen platform's releases as rows that end the block, the first row applying to every platform.
- Pro
Semantic Versioning Changelog
Packages and versionsThe anatomy of v3.8.2 split into Major, Minor and Patch with leaders to what each means, a toggle that previews the next version with a rolling number, and the latest release of each kind.
- Pro
Monorepo Packages Changelog
Packages and versionsOne release as a workspace tree: the facts at the start, and past a divider a tree of packages with each version bump, its kind as an icon and a word, and the packages that were bumped only because something they depend on changed.