Skip to main content
Clever Ops

Property Listing Card

The listing card done right, status ribbon over a structural image panel, price in large tabular figures, a beds-baths-cars icon row, and the address doing the talking as the heading.

Preview & code

Loading Property Listing Card preview

Installation

pnpm dlx shadcn@latest add @cleverui/property-listing-card

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

Usage

tsx
import { PropertyListingCard } from '@/components/ui/property-listing-card'
Exampletsx
import { PropertyListingCard } from '@/components/ui/property-listing-card'

export default function PropertyListingCardDemo() {
  return (
    <div className="mx-auto flex max-w-sm justify-center px-4 py-10 sm:px-6 sm:py-14">
      <PropertyListingCard
        address="14 Banksia Avenue"
        suburb="Hawthorn East VIC 3123"
        price="$1,285,000"
        status="for-sale"
        beds={3}
        baths={2}
        cars={2}
        landSize="545 m²"
        inspection="Sat 10:00–10:30am"
        href="#listing-banksia"
      />
    </div>
  )
}

API reference

PropertyListingCard accepts the following props.

PropTypeDefaultDescription
address*stringstreet line heading, e.g. 14 Banksia Avenue
suburbstringsuburb, state, postcode line under the address
price*stringpreformatted price, $1,285,000 or Auction guide $1.1m
statusListingStatus'for-sale'
bedsnumber
bathsnumber
carsnumber
landSizestringpreformatted area, e.g. 545 m²
inspectionstringnext open time chip, e.g. Sat 10:00–10:30am
hrefstringwraps the card in a single anchor when provided

…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 ListingStatus = 'for-sale' | 'auction' | 'under-offer' | 'sold'

Frequently asked questions

How do I install the Property Listing Card 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-listing-card`. 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 Property Listing Card require?

Property Listing Card 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 Property Listing Card 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