Ctrl + k
Theme:

Radio

Radio component is a wrapper for the native input[type="radio"] element.

You can use label property to set the radio's label. Also, label slot provides for complex contents. If you don't set neither label property nor label slot, the radio will be rendered without label.

Choose one of these options:
Sponsorships help your community know how to financially support this repository.
Issues integrate lightweight task tracking into your repository. Keep projects on track with issue labels and milestones, and reference them in commit messages.
Include this code in the GitHub Archive Program.

clicked: 0

Group radios on the same horizontal row by setting inline boolean property.

Put radios on the opposite side with the reverse boolean property.

Here is a complex example for payment card selection.

© 2024 YeSvelte. All Rights Reserved