
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
General
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |
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 |
Style
| Setting | Description | Options |
|---|---|---|
| Button size | Controls the button size | • Extra small |
Layout
| Setting | Description | Options |
|---|---|---|
| Horizontal alignment | Controls horizontal alignment | • Left (default) |
Display
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |