Cards — React

Flexible card component with variants, sections, and image support

Cards

Flexible card component with variants, sections, and image support

Same BEM classes and behavior as Astro, Svelte, and Vue.

Add this component

Run the command below in your project directory. When prompted, select the component(s) you want. The CLI will copy the CSS and component files.

Choose your package manager — click a tab to select, then copy the command.

npm pnpm yarn bun

Live examples

React

Card title

Card content.

Usage

Usage

Full example for each framework (Astro, Vanilla, Svelte, Vue, React). Switch framework via View as or by clicking a Usage tab—both stay in sync.

Astro Vanilla Svelte Vue React

Other frameworks: Astro · Vanilla · Svelte · Vue