CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / forms-checkout / voice-search-control

Stable release
Back to category

Open experiment

Voice search control

Captures a simulated voice query through a pulsing orb, live transcript, and cancellable listening state. Microphone button starts or stops listening; Escape cancels; transcript becomes an editable search value. Adds temporal voice capture and transcript review instead of typed search suggestions.

Lab tested Responsive Dark mode Interactive
Version
1.0.0
Updated
2026-08-02
Dependencies
Zero
Live canvasInstant token updates
Source filesEditable and export-ready
<form class="cmp-voice-search-control cmp-atlas" data-state="idle" data-variant="3" novalidate>
  <div class="cmp-atlas__field-head"><span>Search inputs</span><b>Voice query orb</b></div>
  <div class="cmp-atlas__voice" aria-hidden="true"><i></i><i></i><i></i></div>
  <button
    type="button"
    class="cmp-atlas__primary"
    data-primary
    data-active-label="Stop listening"
    aria-pressed="false"
  >
    Start voice search</button
  ><label class="cmp-atlas__input"
    ><span>Transcript</span><input data-text value="Show kinetic components"
  /></label>
  <div class="cmp-atlas__field-meter" aria-hidden="true"><i></i></div>
  <p data-status aria-live="polite">Control ready</p>
</form>
No runtime reactions detected Open in Editor

Validated in the lab

Experiment report

  • Schema and source files passed
  • Responsive test passed
  • Keyboard test passed
  • No console errors

Component ingredients

Dependencies
None
Browser support
Current Chrome, Current Edge, Current Firefox, Current Safari
Version
1.0.0
Last tested
2026-08-02

Accessibility notes

  • Every interactive target is a labelled native control with a visible focus treatment.
  • State changes are communicated through a polite text status and never by color alone.
  • The contained visual effects stop when the user requests reduced motion.

License: MIT License for open-source use, modification, and distribution.