Skip to main content
Clever Ops

Off-Market Teaser

A coming-soon listing teaser in React, suburb leads while the address stays withheld behind a redaction bar, with a launch date line and a register-interest CTA. Tailwind tokens.

Preview & code

Loading Off-Market Teaser preview

Installation

pnpm dlx shadcn@latest add @cleverui/off-market-teaser

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

Usage

tsx
import { OffMarketTeaser } from '@/components/ui/off-market-teaser'
Exampletsx
'use client'

import { OffMarketTeaser } from '@/components/ui/off-market-teaser'

export default function OffMarketTeaserDemo() {
  return (
    <div className="mx-auto flex max-w-sm justify-center px-4 py-10 sm:px-6 sm:py-14">
      <OffMarketTeaser
        suburb="Kew East"
        propertyType="Four-bedroom period home · North-facing block"
        status="coming-soon"
        priceGuide="Guide $1.4m–$1.5m"
        beds={4}
        baths={2}
        cars={2}
        landSize="610 m²"
        launchLabel="Launching Thursday 24 Jul"
        addressNote="Full address released on enquiry"
        ctaLabel="Register interest"
        onRegister={() => {
          console.info('Register interest, Kew East')
        }}
      />
    </div>
  )
}

API reference

OffMarketTeaser accepts the following props.

PropTypeDefaultDescription
suburb*stringsuburb heading, address is withheld
propertyTypestringline under the suburb, e.g. Four-bedroom period home · North-facing block
statusOffMarketStatus'coming-soon'
priceGuidestringpreformatted guide; omit to show enquireLabel
enquireLabelstring'Price on enquiry'
bedsnumber
bathsnumber
carsnumber
landSizestringpreformatted area, e.g. 610 m²
launchLabelstringpreformatted launch line, never derived from Date in render
addressNotestring'Full address released on enquiry'
ctaLabelstring'Register interest'
hrefstringCTA as anchor when set
onRegister() => voidCTA as button when set and href is absent

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

Referenced types

Typestsx
export type OffMarketStatus = 'coming-soon' | 'off-market'

Frequently asked questions

How do I install the Off-Market Teaser component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/off-market-teaser`. 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 Off-Market Teaser require?

Off-Market Teaser 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 Off-Market Teaser 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