Bento Showcase
An asymmetric bento whose cells run small live pieces: a chart that takes a point each second, a switch you can flip, a counter that rolls, a code snippet a passing pointer sweeps light across, and a build status that moves on.
$149 once · every Pro piece
Click a cell and it morphs into an expanded view inside the section: the surface grows out of the cell on a spring, the title travels to the heading and the rest rises in. Escape, the close button or a click outside folds it back. Arrow keys move between cells. The grid is laid out by container queries, so it reads complete before scripts run, and without them each cell shows its whole copy.
Install
npx shadcn@latest add @obsyde/bentoNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { Bento } from '@/components/obsyde/ember/bento/Bento';
export function Example() {
return (
<Bento />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/bento/Bento.tsxcomponentember/bento/bento-demo.cssstylesember/bento/micro.cssstylesember/bento/bento.cssstylesember/bento/micro.tsxmoduleember/bento/BentoDemo.tsxdemoember/blocks-kit/blocks-kit.csssharedember/shared/ember.csssharedember/blocks-kit/kit.tsxsharedember/shared/accent.tssharedember/shared/spring.tssharedember/copy-button/CopyButton.tsxsharedember/copy-button/copy-button.csssharedember/status/Status.tsxsharedember/status/status.csssharedember/status-kit/kit.tssharedember/shared/chart-kit.tssharedember/shared/RollingNumber.tsxsharedember/shared/rolling-number.csssharedember/switch/Switch.tsxsharedember/switch/switch.csssharedember/actions-kit/kit.tsshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
openOpen cell | 'none' | 'chart' | 'switch' | 'status' | 'code' | 'counter' | 'none' |
rowHeightRow height | number | 220 |