Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Numbered Changelog Banner Block for React

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 Base 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.

  • Pro

    A weekly digest band for a product-updates tool: a quiet title and count, then three numbered announcements on hairlines, each row one link with a trailing arrow.

  • Pro

    An upgrade band for a UI kit: a tinted strip that shows the version you run next to the latest, v3.9.2 to v4.0, a short note and a link to the changelog.

  • Pro

    Expandable Code Banner

    Disclosures and tabs

    An install notice for a CLI toolkit as a disclosure: a header with a version badge opens package-manager tabs and the command in a mono box with a Copy button.

  • Pro

    Changelog Preview Hero

    Updates and timelines

    A split hero for a code editor that releases on a schedule: the headline on one side, a ruled ledger of the four latest releases across a divider.

  • Pro

    Three numbered highlights for a workflow tool as a framed accordion: open one row to read a sentence and a link, one at a time, beside a heading.

  • Pro

    A slim announcement strip for a writing app's release: one centred line with the version, the news and an underlined link, and a ghost button that folds the strip away.