cabralorenzo/bencho
概要
41 free interactive React blocks and 24 synthesised interface sounds from bencho.dev. Copy a folder, ship it.
Web・アプリ開発計測したスター増加
- 24時間
- +3
- 7日間
- +36
- 15日間
- +70
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルInteractive React blocks and interface sounds.
43 blocks and 30 sounds, free and MIT licensed.
Sponsored by
Take a block
With shadcn. Every block is in Bencho's shadcn registry, so one command adds it with its stylesheet, its packages and the colours it reads (prefixed --bencho-, so your theme is untouched; dark mode follows .dark):
npx shadcn@latest add https://bencho.dev/r/like.json
The full list is https://bencho.dev/r/registry.json, and each block's README has its own command.
By hand. Each block is a folder: the component, its stylesheet, and a README listing its props.
cp -r blocks/like src/components/like
npm install framer-motion lucide-react
import "./tokens.css";
import { Like } from "./components/like/Like";
import "./components/like/Like.css";
export default function Page() {
return <Like color="Ink" burst={70} />;
}
- Props are the knobs. Whatever you set on bencho.dev, pass the same values here. Every prop is optional.
tokens.cssholds the colours the blocks read, light and dark. Include it once, or map the names to your own theme.- Dark mode follows
data-theme="dark"on any parent, or the system setting. - Using an agent? Each block on bencho.dev has a Copy prompt button with the file and how to wire it in.
Take a sound
import { play } from "./sounds/sounds";
button.addEventListener("click", () => play("tick"));
30 sounds made with the Web Audio API, in one file with no audio assets. The list is in sounds/.
See them all
npm install
npm run dev
The playground puts every block and sound on one page.
The shelf
Press
- Huddle — A voice room with two people in it. Join and your blue orb pops in while the others shuffle up, and a sound wave plays over whoever is talking. Try Huddle live
- Asset swap — Flip the arrow to reverse the swap; tap a coin to pick another. Try Asset swap live
- Like — Press the heart and it pops with a burst while the count rolls up a digit. Try Like live
- Voice note — Hold to record a waveform, slide left to bin it, let go to play it back. Try Voice note live
- Generate — Press Generate and an image resolves under glass, broad shapes first. Try Generate live
- Step player — Press play and each step fills as a bar, then eases on to the next dot. Try Step player live
- Todo tower — A to-do list stacked like bricks; take one out and the rest come down. Try Todo tower live
- Checklist — Tick a task and the box fills, the tick draws in and the words strike out. Try Checklist live
- Palette — A set of colours that go together; press for a new palette. Try Palette live
- Liquid toggle — A switch whose droplet stretches as it slides across the track. Try Liquid toggle live
- Now playing — A now-playing bar that opens into a full player and folds back as one. Try Now playing live
- Search — Press the search icon and it opens into the field as one object. Try Search live
- Create menu — Press the pill and it spreads into the create menu it was all along. Try Create menu live
Swipe
- Card swap — A stack of photo cards in depth: press the front card or fling it and it goes straight to the back while the rest step forward, or switch Auto on to have it swap by itself. Try Card swap live
- Carousel — Cards on a turntable that drift, lean under your pointer and swipe round. Try Carousel live
Hover
- Stacked bars — A month of visits as stacked bars; run along them and one day is ringed while a tooltip glides beside it, and Day / Week regrows the bars. Try Stacked bars live
- ASCII wake — A cube drawn in ink dots: the pointer drags a wake of characters through it that thicken under the hand and cool back to dots behind it, and a press sends a ring out. Try ASCII wake live
- Context meter — A context window as one stacked bar, or a field of dots. Point at a kind to light it; Compact squeezes the chat down with a sound to match. Try Context meter live
- Toast stack — Three toasts stacked at the edge, the two behind peeking out above the front one; point at them and they spring apart into a list. Try Toast stack live
- Emoji reactions — Press the button and the message turns into a pill of emoji; pick one and it flies down to its reaction chip as the count rolls up. Try Emoji reactions live
- Heat map — Dots that melt into a heat map under your cursor; press for the next shape. Try Heat map live
- Eye tracker — Two eyes on a soft cube that turn to follow your cursor around the block. Try Eye tracker live
- Particles — Dots scatter from your pointer and spring home; press for a shockwave. Try Particles live
- Image accordion — Hover a photo and it opens while its neighbours give way around it. Try Image accordion live
- Action node — An automation step card with its controls folded into the corner. Try Action node live
- Magnifying dock — A dock whose icons swell toward your cursor, the nearest growing most. Try Magnifying dock live
- Tilt card — A photo card that sinks under your pointer instead of rising to meet it. Try Tilt card live
Slide
- Wake slider — A range made of thin bars with no thumb; drag fast and the bars you sweep past spring up in a wake behind the hand. Try Wake slider live
- Time scrubber — Drag the ruler to set a time; fling it and it coasts to the nearest step. Try Time scrubber live
Drag
- Slingshot — Pull the ball back and the band stretches, clicks and trembles at its limit; let go and it flies, bounces off the walls and comes home. Try Slingshot live
- Rolling counter — A number between a minus and a plus whose digits roll like an odometer, carrying column by column: tap, hold to speed up, or drag the number and fling it. Try Rolling counter live
- Folding bill — A bill you can grab, drag and fold; plain or with the dollar print. Try Folding bill live
- Image compare — Drag the line to compare two pictures; flick it and it glides to the edge. Try Image compare live
- Signature pad — Sign it; the ink thins with speed, and Clear rewinds it stroke by stroke. Try Signature pad live
- Glass bubble — Drag a ball of glass over a photo and watch it bend the picture beneath. Try Glass bubble live
- Slide to confirm — Push the handle across; past the mark it takes over and finishes itself. Try Slide to confirm live
- Pull to refresh — Pull the card down and it stretches; let go past the line to refresh. Try Pull to refresh live
- Dragging ball — A ball you grab: it swells under the pointer and squeezes as you hold it. Try Dragging ball live
Type
- Label input — A field whose label lifts into the top edge as you focus it. Try Label input live
- One-time code — Six boxes that are one field: paste, autofill and backspace all just work. Try One-time code live
Select
- Magnetic select — Press an option and it swells as the rest are pushed out of its way. Try Magnetic select live
- Assignees — Assign people from a list and their faces stack up in the pill. Try Assignees live
- Aspect ratio — Switch the crop between 4:3, 1:1 and 3:4, keeping the same area each time. Try Aspect ratio live
The rest of the bench
This is a selection. Bencho Pro opens all 180+ blocks and 180+ sounds, with full source code, downloads, an unlimited Bench to arrange them on, and the Bencho MCP for Claude Code, Cursor and Codex. Everything added later comes with it.
Licence
MIT for everything in this repository: use it at work, change it, sell what you build with it.
The photographs on bencho.dev are not included (blocks that use pictures ship with grey placeholders), the Bencho name and goat are not part of the licence, two sounds are rebuilt from cuelume (notice), and Pro blocks stay under the Bencho Pro licence.
Made by Lorenzo Cabra. News at @benchodev.
関連プロジェクトを探す
読み込み中…


