githubEdit

Picker audio

Overview

A form block component that provides audio enable/disable radio button controls with customizable visibility and padding options.

Common use cases

  • Ensure translations are set up for 'actions.enable_audio' and 'actions.disable_audio'

  • Consider adding ARIA labels for better accessibility

  • Allow users to toggle audio on/off for video or audio content

  • Display audio control in headers or media sections

Block settings

Spacing

Setting
Description
Options

Enable horizontal padding

Adds horizontal padding around the control

Checkbox (default: false)

Enable top padding

Adds top padding around the control

Checkbox (default: false)

Enable bottom padding

Adds bottom padding around the control

Checkbox (default: false)

Color

Setting
Description
Options

Button color

Controls the button color scheme

• Primary • Secondary • Tertiary • Neutral • Plain • Outline • Inverted outline • Blur • Link (default) • Inverted link

Style

Setting
Description
Options

Button size

Controls the button size

• Extra small • Small (default) • Standard • Large

Layout

Setting
Description
Options

Horizontal alignment

Controls horizontal alignment

• Left (default) • Center • Full • Right

Display

Setting
Description
Options

Visibility

Controls when the block is visible

• All (default) • Mobile only • Desktop only

Last updated

Was this helpful?