Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Numbered Changelog Banner Block for Radix UI

A release banner for a release-management tool: the latest version set large at the start, and the three before it as a numbered list at the end, split by a solid divider.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

A numbered changelog banner for React with Radix UI, for a product whose releases deserve a glance. A band between the page rails splits on a solid divider that meets the top rule. At the start, the latest release is set large: a Latest badge, "v4.2.0" in big mono, one sentence and an underlined link to its notes. At the end, the three releases before it are an ordered list numbered 2 to 4, each with its version, a line and a Notes link. It's built from Badge and Guides, and it follows your theme, light or dark.

FAQ

How do I change the releases?

Edit LATEST for the large release and EARLIER for the list, newest first. Each entry is a version, a line and an href. If you want more or fewer rows, change the array; the numbers are counted from FIRST_NUMBER.

Why does the list start at 2?

The latest release is number 1, set large on its own, so the list continues the count. The list is an ordered list with start={2}, so the order is exposed to assistive technology, and the visible numbers in the circles are decoration. Change FIRST_NUMBER if you drop the large release.

Why is the version in bidirectional isolation?

A version string mixes letters, digits and dots. In a right-to-left layout the browser can reorder the dots around the digits, so the version sits in a bdi element and keeps its order in either direction.

How is it different from the hero's changelog preview?

That one is a vertical ledger of many entries inside a hero. This is a banner-sized comparison of one big release with a short tail, and it does not carry dates, so it never goes stale.

How does it fit on a phone?

Below the large breakpoint the latest release sits on top and the list under a rule that runs rail to rail; the divider and its crossing marks only appear beside the list on a wide screen. Nothing scrolls sideways at 320 pixels.