Radio Group

A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.

          
      

Installation

          
      
          
      

Usage

          
      
          
      

Examples

Default

          
      

Disabled

          
      

Horizontal

          
      

Form

          
      

API Reference

Properties

PropertyTypeDefaultDescription
defaultValuestringundefinedThe value of the selected radio button.
disabledbooleanfalseWhether the radio group is disabled.
orientation"vertical" | "horizontal""vertical"The orientation of the radio group.
classstringAdditional CSS classes to apply to the radio group.

Outputs

OutputTypeDescription
defaultValueChangestringEmitted when the selected value changes.

Built with ❤️ by @immohammadjaved • Source code available on GitHub