Patterns

Card

The one surface: hairline border, no shadow at rest.

5 examples 3 animated · 2 Pro Code and Figma for each

Static card

For content that is read.

Body text.

Interactive card

Lifts on hover; the whole card is the target.

Examples#

Each one on its own: copy its code into your app, or copy it to Figma and paste it on the canvas as layers.

Basic

The one surface: a hairline border and no shadow at rest.

Gulshan Car Park

312 spaces · open 24 hours

Levels B1 to B3. Monthly passes and hourly parking, paid at the gate or by bKash.

Header, content and footer

A title with its status, the content, and a footer for the decision.

Payout

Next transfer on Sunday

Scheduled

৳1,24,500

Interactive

The whole card is a link: it lifts on hover and takes focus.

Banani Trade Centre

86% full · 41 spaces free

Feature

An icon tile, a title and a line: for feature grids and settings.

Number plate entry

Cameras read the plate and open the gate for pass holders.

Highlighted

A brand ring and a soft wash: the recommended plan, the default choice.

Team

Most popular

৳53,900 once

Every developer at your company.

Animated#

Motion that earns its place: free ones to copy now, and Pro ones whose code and Figma copy come with a Wavi Pro licence. They respect the visitor's reduced-motion setting.

Lift and glowFree

Rises on hover and a brand glow spreads beneath it.

Daily report

Cars in, cars out and takings, every evening at 9.

Spotlight Pro

A light follows the pointer over the card and along its edge.

Occupancy insights

Which floors fill first, hour by hour.

Move the pointer over the card: the light follows it, on the surface and on the edge.

3D tilt Pro

Tilts towards the pointer with a moving glare: for passes, plans and showcase cards.

Monthly pass

৳3,500

Gulshan 2 · Level B1 · Any time

DHAKA METRO-GA 12-3456

Import#

Everything comes from the package root. The example above uses:

your-component.tsx
import { Card, CardDescription, CardHeader, CardTitle } from "@waveinno/ui";

Props#

Read from the source of this version, so they match the code exactly.

<Card>

src/components/ui/card.tsx
PropTypeDefaultDescription
interactiveboolean—

Also takes HTMLAttributes<HTMLDivElement>.

<CardDescription>

src/components/ui/card.tsx

Also takes HTMLAttributes<HTMLParagraphElement> (passed through).

<CardHeader>

src/components/ui/card.tsx

Also takes HTMLAttributes<HTMLDivElement> (passed through).

<CardTitle>

src/components/ui/card.tsx

Also takes HTMLAttributes<HTMLHeadingElement> (passed through).

Install#

If the project does not have the package yet, add it, then follow the setup for Next.js or Vite once.

$ npm install @waveinno/ui