Rebar UI

1.0

opinion

VoiceInputBar

The voice capture bar: a waveform, a status line, a big mic button, and keyboard and camera buttons.

Assistant micPress the mic to listen, press again to send
Listening
Listening…
Processing
Processing…

In context

Ask TidelineVoice mode in the phone assistant
Ask Tideline
What slipped on the mobile release this week?
Two things. Offline sync is in review and the crew-interview notes are late.
Ask Tideline
What slipped on the mobile release this week?
Two things. Offline sync is in review and the crew-interview notes are late.
Listening…

Props

PropTypeRequiredDefault
stateVoiceInputBarStateYes—
onMicPress(() => void) | undefinedNo—
onKeyboardToggle(() => void) | undefinedNo—
onCameraPress(() => void) | undefinedNo—
showKeyboardToggleboolean | undefinedNotrue
showCameraboolean | undefinedNotrue
accentColorstring | undefinedNovar(--rebar-color-primary, #0066cc)
statusTextstring | undefinedNo—
barCountnumber | undefinedNo32
seedstring | undefinedNovoice-input-bar
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—
classNamestring | undefinedNo—

Presentational

No audio capture inside: the caller owns the microphone and sets state. The waveform is a seeded decoration, not real amplitude.

data-rebar-* attributes

data-rebar-component="voice-input-bar", data-rebar-state mirrors state; parts include waveform, status, mic-button, keyboard-toggle, camera-button.

Migrating to Ant Design

Not codemod-covered. Compose AntD's circular Buttons against the same state machine; there is no AntD waveform strip.