Skip to main content
Clever Ops

Press Accolades Band

Restaurant press and awards band for React, accolades as serif text mastheads with mono years and one critic quote. Tailwind tokens, zero logo assets.

Preview & code

Loading Press Accolades Band preview

Installation

pnpm dlx shadcn@latest add @cleverui/press-accolades-band

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { PressAccoladesBand } from '@/components/blocks/press-accolades-band'
Exampletsx
import { PressAccoladesBand } from '@/components/blocks/press-accolades-band'

export default function PressAccoladesBandDemo() {
  return (
    <PressAccoladesBand
      eyebrow="Noted"
      quote={{
        text: 'The best thing to happen to this street in a decade.',
        source: 'The Age Good Food Guide',
      }}
      note="Full reviews on request, we'd rather you taste it."
      items={[
        {
          accolade: 'One hat',
          source: 'The Age Good Food Guide',
          year: '2025',
        },
        {
          accolade: 'Top 50',
          source: 'Gourmet Traveller',
          year: '2024',
        },
        {
          accolade: "Chef's Choice",
          source: 'Broadsheet',
          year: '2024',
        },
        {
          accolade: 'Best New Opening',
          source: 'Time Out Melbourne',
          year: '2023',
        },
      ]}
    />
  )
}

API reference

PressAccoladesBand accepts the following props.

PropTypeDefaultDescription
eyebrowstring'Noted'
quote{ text: string; source: string }one critic line set large
items*PressAccolade[]3–5 accolades
notestringquiet closing line

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface PressAccolade {
  /** e.g. "One hat" or "Top 50" */
  accolade: string
  /** publication name */
  source: string
  /** preformatted year */
  year: string
}

Frequently asked questions

How do I install the Press Accolades Band component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/press-accolades-band`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Press Accolades Band require?

Press Accolades Band uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Press Accolades Band to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services