Skip to main content
Clever Ops

Auction Results Strip

Last weekend's auction results as a ruled band, a clearance rate counting up once, then sold and passed-in rows with addresses leading and prices set in tabular figures.

Preview & code

Loading Auction Results Strip preview

Installation

pnpm dlx shadcn@latest add @cleverui/auction-results-strip

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

Usage

tsx
import { AuctionResultsStrip } from '@/components/blocks/auction-results-strip'
Exampletsx
import { AuctionResultsStrip } from '@/components/blocks/auction-results-strip'

export default function AuctionResultsStripDemo() {
  return (
    <div className="w-full py-6 sm:py-10">
      <AuctionResultsStrip
        heading="Auction results"
        weekendLabel="Weekend of 12–13 July"
        clearance={71}
        clearanceLabel="Clearance rate"
        summary="48 scheduled · 41 sold"
        results={[
          {
            address: '14 Banksia Avenue',
            suburb: 'Kew',
            result: 'sold',
            price: '$2,420,000',
            method: 'Auction',
          },
          {
            address: '3/22 Cotham Road',
            suburb: 'Kew',
            result: 'sold',
            price: '$1,185,000',
            method: 'Prior',
          },
          {
            address: '8 Belmont Avenue',
            suburb: 'Balwyn',
            result: 'passed-in',
            method: 'Auction',
          },
          {
            address: '41 High Street North',
            suburb: 'Kew',
            result: 'sold',
            price: '$3,010,000',
            method: 'Auction',
          },
          {
            address: '19 Carson Street',
            suburb: 'Kew',
            result: 'withdrawn',
            method: 'Auction',
          },
          {
            address: '6 Adeney Avenue',
            suburb: 'Kew',
            result: 'sold',
            price: '$2,765,000',
            method: 'Auction',
          },
        ]}
        note="Agency reported · collected Sunday 6pm"
      />
    </div>
  )
}

API reference

AuctionResultsStrip accepts the following props.

PropTypeDefaultDescription
headingstring'Auction results'
weekendLabelstringpreformatted date line, never derived from Date in render
clearance*numberclearance percentage, e.g. 71
clearanceLabelstring'Clearance rate'
summarystringpreformatted totals line, e.g. 48 scheduled · 41 sold
results*AuctionResultRow[]
notestringprovenance footnote

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

Referenced types

Typestsx
export interface AuctionResultRow {
  address: string
  suburb?: string
  result: AuctionResultKind
  /** preformatted, e.g. $1,420,000 */
  price?: string
  /** e.g. Auction or Prior */
  method?: string
}

export type AuctionResultKind = 'sold' | 'passed-in' | 'withdrawn'

Frequently asked questions

How do I install the Auction Results Strip component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/auction-results-strip`. 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 Auction Results Strip require?

Auction Results Strip 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 Auction Results Strip 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