Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Full-Bleed Launch Banner Block for React

A launch-week callout for a product analytics tool: a tinted band with a header and a waitlist button, then five day cells, one launch each, today's lit.

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 full-bleed launch callout for React with Base UI. A faint tint of the theme's muted colour runs across the whole width of the page. Between the page rails a header names the week, "Launch week", with one sentence under it (five days, five launches for Larchfold v2) and an outline Shine Button, "Join the waitlist", at the end. Below it a band of five cells sits on shared hairlines, one launch a day: a day chip, the launch's name and a status line. Day 1 is live: its cell is lit on the card colour and carries a solid dot and "Live now"; days 2 to 5 carry a quiet dot and "Soon". There are no dates, so nothing goes stale as the week passes. From the medium breakpoint the cells share the width in five columns; on a phone they scroll sideways in a labelled strip and snap one by one. The band ends on the next block's top rule. It follows the theme, with no black panel. Built from Guides, Badge, Status and Shine Button. For launch weeks, release trains and any run of announcements that deserves its own calendar.

FAQ

How do I change the launches, or move to the next day?

Edit DAYS at the top of the file: each entry has a title and a live flag. Set live to true for the launches that are out; the cell is lit and its status line reads "Live now". When a second day goes live, flip its flag and the earlier one can stay lit or not as you prefer. The day chip numbers itself from the entry's position, "Day 1" to "Day 5". The lit cell also carries aria-current, so a screen reader hears which one is live.

Why are there no dates?

A date in a banner goes stale the day after the launch week ends, and a banner with a wrong date is worse than none. The cells say "Live now" and "Soon", which stay true as you update the flags. If your week has fixed days, put the weekday names in the titles yourself.

How does it fit on a phone?

Below the medium breakpoint the five cells are a horizontal scroller, each cell 85% of the width so the next one peeks in, snapping one at a time. The scroller is a list with a label and a tab stop, so a keyboard user can focus it and scroll with the arrow keys, and it shows a focus ring inside its edge. The header stacks: the text, then the button.

Does it follow my theme?

Yes. The tint is bg-muted/50 on the full-width section, the lit cell is bg-card, and the dots are the foreground colour or a muted tone. There's no bg-foreground panel and no primary surface, so it reads the same in light and dark.

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

  • Pro

    An event countdown for a developer conference: a calendar tile with the name and a sentence saying when it starts, four cells of days, hours, minutes and seconds in a corner-marked frame, and a Shine Button to reserve a seat.

  • 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

    A flash-sale countdown for a lighting shop: the product with its struck regular price and sale price, a clock of hours, minutes and seconds in three cells, a Shine Button to claim the price, and a thin meter of how much stock is claimed.

  • Pro

    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.