Bento
Color Picker Bento Card
NewA bento card with a colour picker that works by itself: a pointer drags the opacity, picks a shade and flips between background and text.
npx motionsnack add color-picker-bento-cardCustomize
Pair Colour
<ColorPickerBentoCard />Props
13 properties
| Property | Type | Default | Description |
|---|---|---|---|
| colors | string[] | 4 blue shades | Shades in the swatch row, light to dark. The picker steps through them. An empty list hides the row. |
| background | string | white / black in dark | Card colour. |
| className | string | '' | Extra classes on the card, e.g. a grid span. |
| title | string | 'Colour that stays on brand' | Headline under the illustration. Leave empty to hide it. |
| description | string | 'Pick a shade, tune its opacity and set it as background or text. Every token follows at once.' | Paragraph under the headline. Leave empty to hide it. |
| align | 'left' | 'center' | 'left' | Text alignment. |
| pairColor | string | '#FFFFFF' | Colour shown in the value chip while the background is being edited. |
| showCursor | boolean | true | Pointer that drives the picker. |
| glow | boolean | true | Soft light behind the picker in the selected shade. |
| glowIntensity | number | 0.8 | Brightness of the glow. |
| 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 Color Picker Bento Card
A card for bento grids with a small colour picker above a headline with a short paragraph. A pointer runs a loop over it: it drags the thumb along the checkerboard opacity slider while the hex bubble follows with the percentage, takes the eyedropper and picks the next shade in the swatch row, then switches between BG and FG. The slider, the glow behind the panel and the value chip fade to the new colour. The shades are a plain array of hex colours.
What's included
- Opacity slider with a following hex bubble
- Eyedropper and a row of shades
- BG / FG switch
- Pointer that drives the loop
- Glow in the selected shade
- 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 color-picker-bento-card