Skip to main content
Clever Ops

Frost Wipe Card

A condensation card for React, the pane mists over with canvas breath, your pointer squeegees it clear, droplets run, and it slowly re-fogs. Tailwind token colors throughout.

Preview & code

Loading Frost Wipe Card preview

Installation

pnpm dlx shadcn@latest add @cleverui/card-frost-wipe

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

Usage

tsx
import { CardFrostWipe } from '@/components/ui/card-frost-wipe'
Exampletsx
import { CardFrostWipe } from '@/components/ui/card-frost-wipe'

export default function CardFrostWipeDemo() {
  return (
    <div className="mx-auto flex min-h-[560px] max-w-md items-center px-4 py-16 sm:px-6">
      <CardFrostWipe
        meta="COLD STORE · RH 96"
        title="Vault glass, aisle B"
        description="Drag across the pane, condensation lifts in soft strokes, beads run, and the film re-forms in six seconds."
        refogSeconds={6}
        droplets
        className="w-full"
      />
    </div>
  )
}

API reference

CardFrostWipe accepts the following props.

PropTypeDefaultDescription
title*string
descriptionstring
metastring'COLD STORE · RH 96'mono micro-label on the card sill
refogSecondsnumber6seconds for a wiped area to fully re-mist (clamped 3–12)
dropletsbooleantrueseeded condensation beads that occasionally run

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

Frequently asked questions

How do I install the Frost Wipe 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/card-frost-wipe`. 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 Frost Wipe Card require?

Frost Wipe Card 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 Frost Wipe 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