# Primary Color Banner

> Centered announcement bar filled with the primary color and primary-foreground text, an arrow link and a dismiss button; the message shortens below the sm breakpoint.

A shadcn/ui block from the [@01orbital](https://01orbital.dev/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/01orbital/minimal-banner-03).

- Page, with a live preview: https://shadcn.exchange/r/01orbital/minimal-banner-03
- Screenshot: https://shadcn.exchange/shot/01orbital/minimal-banner-03/light.png
- Registry item: https://01orbital.dev/r/minimal-banner-03.json
- Categories: banner
- Listed: 2026-11-01, source last changed 2026-11-01

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/01orbital/minimal-banner-03.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@01orbital/banner`

## Files

### `blocks/banner/minimal-banner-03/index.tsx`

```tsx
import {
  Banner,
  BannerContent,
  BannerDismiss,
  BannerLink,
} from "@/components/banner/banner"

// The copy: change text here, not in the markup.
const COPY = {
  news: "Orbcore for teams is open to everyone, with no waitlist.",
  // Replaces news below the sm breakpoint, so the banner holds one line.
  newsShort: "Orbcore for teams is open to all.",
  newsLink: "Start a team",
} as const

export default function MinimalBanner03() {
  return (
    <Banner variant="center" className="bg-primary text-primary-foreground">
      <BannerContent>
        <p>
          <span className="sm:hidden">{COPY.newsShort}</span>
          <span className="max-sm:hidden">{COPY.news}</span>
        </p>
        <BannerLink href="#">{COPY.newsLink}</BannerLink>
      </BannerContent>
      <BannerDismiss />
    </Banner>
  )
}
```
