Bencho Originals
Timer4:57

Features

  • A black capsule that morphs between expanded (300×76) and compact (146×36).
  • Expanding springs with a bit of extra bounce, and collapsing settles tighter.
  • The contents blur and cross-fade (6px) while the shape changes, so nothing gets squashed.
  • A live countdown with an amber pause/resume button, plus a compact stopwatch view.

API reference

<DynamicIsland /> from components/bencho/dynamic-island.tsx

PropTypeDefaultDescription
secondsnumber297Countdown length in seconds, shown as m:ss.
defaultOpenbooleantrueStart in the expanded view.

Keyboard interactions

TabFocuses the capsule, then the pause button when expanded.
Enter / SpaceOn the capsule, toggles expanded and compact. On the pause button, pauses or resumes without toggling.

Accessibility

  • The capsule is a role="button" with aria-expanded and the label “Expand timer” or “Collapse timer”.
  • The pause control is labelled “Pause” or “Resume” to match its state.
  • Time uses tabular numerals, so the width doesn't jitter every second.

Sound & haptics

Silent by design: no audio and no vibration. All of the feedback is visual, so it works anywhere, muted or not.

Files

Written from scratch for sher.md and inspired by bencho.dev. It contains none of bencho's code or assets.