Bento
Type Scale Bento Card
NewA bento card with a sample word and a type toolbar: a pointer changes its size, weight and alignment in turn.
npx motionsnack add type-scale-bento-cardCustomize
Accent
<TypeScaleBentoCard />Props
11 properties
| Property | Type | Default | Description |
|---|---|---|---|
| background | string | white / black in dark | Card colour. |
| className | string | '' | Extra classes on the card, e.g. a grid span. |
| title | string | 'Type that sets itself' | Headline under the illustration. Leave empty to hide it. |
| description | string | 'Size, weight and alignment from one toolbar. Every heading on the page follows the same scale.' | Paragraph under the headline. Leave empty to hide it. |
| word | string | 'Typo' | Sample word. Shown in the text colour. |
| align | 'left' | 'center' | 'left' | Text alignment. |
| accent | string | '#0044ff' | Colour of the marker under the selected weight. |
| showCursor | boolean | true | Pointer that drives the toolbar. |
| speed | number | 1 | Speed of the loop. 0 freezes it. |
| aspect | '1 / 1' | '4 / 5' | '5 / 4' | '4 / 3' | '4 / 3' | Shape of the card. A grid cell with its own height overrides it. |
| radius | number | 28 | Corner radius of the card. |
About Type Scale Bento Card
A card for bento grids with a large sample word sitting on a dashed baseline over a hatched area, a floating toolbar with alignment and size buttons and a weight picker. A pointer clicks a new size, a new weight and a new alignment in turn; the word grows, thickens and slides across the card, and justify spreads its letters.
What's included
- Size, weight and alignment toolbar
- Animated sample word on a baseline
- Pointer that drives the loop
- Light and dark look
- Respects reduced motion
- Type
- Animated React bento block
- Library
- Blocks · Bento
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-21
- Install
npx motionsnack add type-scale-bento-card