115 Components

Aura Mic

Motion

A black and white microphone toggle that surrounds itself with a unique animated aura while listening. Six styles are included: halftone, moire, thread, ink, eclipse and ridgeline. Built with React, Tailwind CSS and Framer Motion.

MotionTailwindInteractiveSVG
/r/aura-mic.json

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:framer-motionlucide-reactclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/aura-mic.json"

Props

TypeScript props supported by <AuraMic />.

3 props
PropTypeDefaultDescription
animation"halftone" | "moire" | "thread" | "ink" | "eclipse" | "ridgeline""halftone"Which aura animation plays while listening
sizenumber76Diameter of the mic button in pixels. The aura scales around it inside a 220px stage
onListeningChange(listening: boolean) => voidundefinedCalled once each time the mic is toggled, with the new listening state

Key Features

  • Six distinct monochrome aura animations: halftone, moire, thread, ink, eclipse and ridgeline
  • Strictly black and white. Everything is drawn with currentColor, so it flips automatically between light and dark mode
  • Outlined button when idle, inverted solid button when listening, so the state is clear without colour
  • Vector SVG auras that stay sharp at any size
  • Animated icon swap between Mic and MicOff
  • Fades the aura in and out smoothly when listening starts or stops

Keyboard & Accessibility

  • Respects prefers-reduced-motion: the aura is skipped and only the button toggles
  • Native button element with Enter and Space keyboard support
  • Visible focus-visible outline in both light and dark mode
  • aria-pressed and a dynamic aria-label ("Start listening" / "Stop listening") announce the state
  • Aura graphics are marked aria-hidden so screen readers ignore the decoration