sensory-ui: Semantic Sound Feedback for shadcn/ui

LinkTool

sensory-ui brings semantic sound cues to shadcn/ui components for React and Next.js. Audio is generated with zero latency directly in the browser via the Web Audio API without any audio files. It helps frontend developers add lightweight, accessible acoustic feedback via simple props.

Key points

  1. Now part of Shadcn Labs and released as open source under the MIT License.
  2. Runs entirely on the Web Audio API: zero audio files (MP3/WAV), zero network requests, and around 28 kB gzipped.
  3. Offers 24 components, 9 sound packs, and 17 cues divided into 5 categories (interaction, overlay, navigation, notification, hero).
  4. Accessible by default: honors reduced motion and allows muting globally, per category, or per interaction.

Why it matters

Auditory processing is significantly faster than visual feedback; procedural synthesis now lets developers enhance UI responsiveness without loading heavy audio assets.

Analysis

sensory-ui integrates sound as a first-class feedback mechanism for shadcn/ui in React and Next.js applications, aiming to make web interactions feel more immediate and tangible.

Architecture and Real-Time Synthesis

Traditional audio implementations on the web struggle with bundle overhead, latency, and extra network requests. sensory-ui bypasses this completely by synthesising audio programmatically via the native browser Web Audio API. This keeps the bundle footprint around 28 kB (gzipped) while eliminating playback delays. Components serve as drop-in replacements configured through standard CLI tooling (npx shadcn@latest add shadcn-labs/sensory-ui/sensory-ui) and activated with sound props.

Structure and Sound Philosophy

The system categorises its 17 sound cues across distinct interaction types:

  • Interaction (8–50 ms): Quick feedback for buttons, toggles, and switches.
  • Overlay (120–270 ms): Opening and closing dialogs, drawers, and menus.
  • Navigation (40–250 ms): Movement across tabs, carousels, and pagination.
  • Notification (200–450 ms): Status alerts such as success or error toasts.
  • Hero (350–1900 ms): Celebratory tones for task completions and milestones.

The library follows the principle that sound must remain informative rather than decorative. Every cue is paired with visual feedback and respects user preferences, including options to disable sounds globally or per interaction.

Found in

Summary generated by AI (Gemini 3.8 Flash, 16 November 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:seamui.dev

    seamui: Physical-feeling UI components built on Base UI

    seamui pairs shadcn's distribution model with Base UI and motion.dev. The library provides spring animations, depth layers, haptic touch feedback, and agent-focused UI primitives. Developers paste and own the component code directly inside their projects.

    AI & LLMs· Tool

  • Link:ui.shadcn.com

    shadcn/ui: Composable Foundation for Custom Design Systems

    shadcn/ui provides composable, accessible components designed as a starting point for custom design systems. Developers can directly customise, extend, and own the component code rather than importing a rigid package. The resource highlights ready-to-use primitives for dashboards, settings, and chat views.

    Web development· Tool

  • X post:OrcDev

    shadscan: Open-source UI audit tool for React and shadcn/ui without AI

    OrcDev introduced shadscan, a free, open-source quality scanner for React and shadcn/ui applications. It deterministically checks code and rendered pages for missing states, accessibility gaps, overflow bugs, and metadata issues without requiring AI models, accounts, or API keys.

    192bookmarks42.2kviews

    Web development· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.