Paused
interface QIconBtnProps extends Omit<Omit<HTMLButtonAttributes, "disabled">, "label">
?: string = undefined?: boolean = false?: boolean = undefined?: boolean = false?: boolean = false?: string = undefined?: QBtnIcon = undefined
?: boolean = false?: boolean = false?: boolean = false?: boolean = false?: boolean = false?: boolean = false?: string = undefined?: boolean = false?: boolean = $bindable(undefined)
?: "round" | "squared" = undefined?: QBtnSizeOptions = undefined
?: keyof HTMLElementTagNameMap = undefined
?: HTMLAnchorAttributes["target"] = undefined
?: string = undefined?: boolean = false?: boolean = false?: QBtnVariantOptions = undefined
?: "narrow" | "default" | "wide" = "default"aria-label. Use onclick for actions such as play or skip. Bind selected for toggles; it updates aria-pressed automatically. Keep a toggle's label stable as its state changes. These
controls update local state without playing audio.Paused · Headphones off · Output on · Not bookmarked
Icon-only buttons default to the flat variant. filled, tonal and outlined are shorthand for the matching variant values, as used on the controls above. An explicit variant takes precedence.
expressive sizes, width and shape on one button.
Baseline defaults to md and expressive to sm, both 40px; explicit
size names use their mode's scale. Expressive mode inherits Quaff.init() when omitted. Custom icon snippets can replace a Material Symbol.Pressed 0 times
Baseline icon buttons are circular; expressive buttons support shape="squared". Turn off the ripple with noRipple, or set rippleColor to a theme or CSS color. The unelevated prop removes the
elevated variant's shadow. The icon color control applies to flat, outlined and elevated buttons;
filled and tonal buttons keep their matching foreground color.
loading to replace the icon with a progress indicator and disabled to prevent another activation while work is pending. Add href or to to render a navigation link. Preparing the cue sheet enables the status link below.Prepare the sheet to try loading and enable its link.
Tab focuses an enabled button; Space or Enter activates it. Links retain normal link behavior. Disabled actions do not run their click handler. Keep a visible focus indicator and provide accessible names for custom icons too.