Skip to main content
Clever Ops

Listing Gallery Strip

A horizontal snap-scroll rail of listing cards with hairline edge fades and a keyboard-focusable scroll region, how a boutique agency presents this week's properties.

Preview & code

Loading Listing Gallery Strip preview

Installation

pnpm dlx shadcn@latest add @cleverui/property-gallery-strip

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

Usage

tsx
import { PropertyGalleryStrip } from '@/components/blocks/property-gallery-strip'
Exampletsx
import { PropertyGalleryStrip } from '@/components/blocks/property-gallery-strip'

export default function PropertyGalleryStripDemo() {
  return (
    <PropertyGalleryStrip
      eyebrow="This week"
      heading="Latest listings"
      regionLabel="Hawthorn and surrounds listings"
      listings={[
        {
          address: '14 Banksia Avenue',
          suburb: 'Hawthorn East',
          price: '$1,285,000',
          status: 'for-sale',
          beds: 3,
          baths: 2,
          cars: 2,
          href: '#banksia',
        },
        {
          address: '9 Marshall Avenue',
          suburb: 'Kew',
          price: 'Auction guide $1.65m',
          status: 'auction',
          beds: 4,
          baths: 2,
          cars: 2,
          href: '#marshall',
        },
        {
          address: '7/22 Riversdale Road',
          suburb: 'Camberwell',
          price: '$890,000',
          status: 'under-offer',
          beds: 2,
          baths: 1,
          cars: 1,
          href: '#riversdale',
        },
        {
          address: '41 Berkeley Street',
          suburb: 'Hawthorn',
          price: '$2,150,000',
          status: 'for-sale',
          beds: 4,
          baths: 3,
          cars: 2,
          href: '#berkeley',
        },
        {
          address: '18 Auburn Grove',
          suburb: 'Hawthorn East',
          price: 'Sold $1,420,000',
          status: 'sold',
          beds: 3,
          baths: 2,
          cars: 1,
          href: '#auburn',
        },
      ]}
    />
  )
}

API reference

PropertyGalleryStrip accepts the following props.

PropTypeDefaultDescription
headingstring'Latest listings'
eyebrowstringquiet sans kicker above the heading
listings*GalleryListing[]
regionLabelstring'Property listings'aria-label for the focusable scroll region
onSelect(index: number) => voidfires on card activation when the item has no href

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

Referenced types

Typestsx
export interface GalleryListing {
  address: string
  suburb?: string
  price: string
  status?: GalleryListingStatus
  beds?: number
  baths?: number
  cars?: number
  href?: string
}

export type GalleryListingStatus = 'for-sale' | 'auction' | 'under-offer' | 'sold'

Frequently asked questions

How do I install the Listing Gallery 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/property-gallery-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 Listing Gallery Strip require?

Listing Gallery Strip uses motion and lucide-react on top of React and Tailwind CSS. You don't need to install them manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Listing Gallery 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