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): The full list is https://bencho.dev/r/registry.json, and each block's README has…
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):
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.css holds 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
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
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
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.
评论