Radio

stable llms.txt

Radio button for single selections with group support and full accessibility states.

Installation

bash
ts

Preset Configuration

Customize the appearance using presets

Examples

Explore different variations and use cases

Basic Radio

Single radio button

Radio Group

Multiple radio buttons for single selection

Disabled Radio

Radio button in disabled state

API Reference

Accessibility

  • Use proper grouping with fieldset/legend
  • Associate labels with radio buttons
  • Keyboard navigation (Arrow keys)
  • Clear visual focus indicators
  • Screen reader friendly

© 2026 Svelte Atoms. Open source under the MIT license.

Built with Svelte 5 · Runes · TailwindCSS