New: Kith open-sources its ATS.Read why
Skip to Content

Voice note

A hook that wires a card's mic trigger to a hidden dictation control, so a note can be spoken from the header.

What it shows

A hook that lets a note be spoken from a card.

Props

useCandidateVoiceNote, its options

PropTypeWhat it does
onCommit (required)(text: string) => void | Promise<void>Called with the transcript when a person finishes dictating.
titlestringThe trigger's tooltip and the dictation overlay's title.
captionstringThe small caption in the dictation overlay.

useCandidateVoiceNote, what it returns

PropTypeWhat it does
trigger (required)ReactNodeA quiet mic icon action, for a card's header actions.
control (required)ReactNodeThe dictation control itself, visually hidden. Render it once, anywhere inside the card: the trigger and open drive it.
open (required)() => voidOpens the dictation overlay, for a host control of its own.

Data it needs

The component takes plain values and callbacks and keeps no records of its own. Pass it yours, from the Kith data layer or from a backend you already run.

Copy to your agent

Copy to your agent
Install RecruiterOS/recruit-ui and add a spoken note to a candidate card with the useCandidateVoiceNote hook.