Cards Pure CSS

Feature card

A card with a small animated illustration on top; the loops are pure CSS and rest under reduced motion — four built-ins: inbox, summary, processing, team.

Real scenarios

The component as it is used in a product — not a specimen grid.

The landing page pillars

Four features, four CSS-only illustrations — mail sorting itself, threads folding into a summary, a bolt at work, people taking their seats. Under reduced motion the loops simply rest.

A smart inbox

New mail lands on top and sorts itself before you look.

AI summaries

Long threads read themselves and hand you three lines.

Instant processing

Thousands of documents, a heartbeat later done.

Auto-assignment

Tickets find the right person, not the free one.

One card that links out

href turns the whole card into one anchor, and the default slot adds a quiet line under the description — here, the pilot numbers.

Go behind the numbers

The processing pipeline, end to end.

Pilot: 42 teams · 1.9M documents · median 240 ms

Important props

Important props
Prop Type Default What it does
visual string inbox inbox (mail arriving and re-sorting) | summary (lines read, then folded) | processing (a bolt with rings and a filling bar) | team (people moving into their slots).
title / description string required / null The feature’s title and its short description.
tone string null The scene’s colour: lapis | violet | cyan | gold.
href / slot پیش‌فرض string / slot null With href the whole card becomes a link; the default slot adds content under the description.

Snippet

<x-nx::feature-card visual="inbox" tone="cyan" title="صندوق ورودی هوشمند" description="نامهٔ تازه بالا می‌آید و خودش مرتب می‌شود." />