Floating Bar

The pill that floats over every app while recording is ready, live or processing, with a close button.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: not available yet

Usage

Ready · ⌘⇧R

Import

ts
import {
  SoneFloatingBarComponent,
} from "@surface-one/angular/floating-bar";

API reference

SoneFloatingBarComponentComponent

Selector
sone-floating-bar
Inputs
NameType Default
stateFloatingBarState"idle"
closeLabel—$localize`:Button that hides the floating recording bar:Hide`
closable

Show the trailing close button.

booleantrue
dragRegionAttr

An attribute that marks the bar's chrome as the window's drag handle — Tauri's `data-tauri-drag-region`. Set on the bar's own background element, so projected content needs none of its own. `null` = no attribute.

string | nullnull
dragRegionValue

The attribute's value. `deep` (default): Tauri 2.11 drags from anywhere inside the bar except buttons, links, inputs and labels; `""`: the background only.

string"deep"
Outputs
NameType
closedvoid