Skip to content

Radio

A radio button is an interactive element that allows users to select one option from a predefined set of mutually exclusive choices. Unlike checkboxes, radio buttons are designed for single selection within a group, ensuring that only one option can be chosen at a time.

They typically appear as small circles that can be filled (selected) or empty (deselected). Radio buttons are ideal for scenarios where a user must choose one option from a list, such as selecting a payment method or answering a multiple-choice question.

Their clear and straightforward design helps users make decisions quickly and accurately, enhancing the overall user experience.

Basic

Figma logo Figma
πŸ§ͺ Beta
book icon Guidelines
πŸ›  In progress
desktop icon Web
πŸ”­ Alpha
phone icon Mobile
πŸ”­ Alpha

Guidelines

Correct / Incorrect

Takeaways

Features

Usage

Implementation

<script lang="ts">
import { Radio } from '@behavy/glowup-design-system';
let selected_list = '';
</script>
<Radio label="Option 1" value="option1" {selected_list} />

Properties

StatusNameTypeDefaultRequiredDescription
Β  πŸ”­namestring’radioβ€™βŒThe name of the radio.
Β  πŸ”­valuestringβœ…The value of the radio.
Β  πŸ”­labelstring❌The label of the radio.
Β  πŸ”­selected_liststringβœ…The list of the selected radio.
Β  πŸ”­disabledbooleanfalse❌Disables the radio.

Examples

Alternative

Card

Figma logo Figma
πŸ§ͺ Beta
book icon Guidelines
πŸ›  In progress
desktop icon Web
πŸ”­ Alpha
phone icon Mobile
πŸ”­ Alpha

Guidelines

Correct / Incorrect

Takeaways

Features

Usage

Implementation

<script lang="ts">
import { RadioCard } from '@behavy/glowup-design-system';
let selected_list = '';
</script>
<RadioCard label="Option 1" value="option1" {selected_list} />

Properties

StatusNameTypeDefaultRequiredDescription
πŸ”­namestring’radioβ€™βŒThe name of the radio.
πŸ”­valuestringβœ…The value of the radio.
πŸ”­labelstringβœ…The label of the radio.
πŸ”­selected_liststringβœ…The list of the selected radio.
πŸ”­disabledbooleanfalse❌Disables the radio.
πŸ”­iconstring❌The icon of the radio.
πŸ”­variantbooleanfalse❌The variant of the radio.

Examples

Alternative