docs/components/feedback/SpeakingIndicator

SpeakingIndicator

Voice-activity indicator.

import { SpeakingIndicator } from '@ybouhjira/hyperkit';

Static examples

This component depends on app-level context (providers, services, or interactive setup) that does not fit the inline playground yet, so its examples are shown as static code.

#Props

PropTypeDefaultDescription
visible *booleanToggle visibility. Enter/exit run through a scale+fade transition.
labelstringOptional label shown alongside the animation (e.g. a short caption of what's being spoken).
variantSpeakingVariantVisual style. - bars (default): 5 vertical waveform bars - dot: single pulsing dot with radiating ring - wave: sine-wave path scrolling left
size'sm' | 'md' | 'lg'Size preset. sm = 12px tall bars, md = 16px, lg = 24px.
classstringAdditional CSS classes.

* required prop.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-accent
  • --sk-accent-muted
  • --sk-duration-normal
  • --sk-duration-pulse
  • --sk-ease-in-out
  • --sk-ease-out
  • --sk-font-size-xs
  • --sk-space-2xs
  • --sk-space-sm
  • --sk-space-xs