@chakra-xui/radio
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Radio

Radio component is used in forms when a user needs to select a single value from several options.

Installation

yarn add @chakra-xui/radio

# or

npm i @chakra-xui/radio

Import component

import { Radio } from "@chakra-xui/radio"

Usage

<Radio>This is a radio</Radio>

RadioGroup

RadioGroup is used to bind multiple radios into a group, and it indicates whether which option is selected.

<RadioGroup defaultValue="one">
  <Radio value="one">One</Radio>
  <Radio value="two">Two</Radio>
  <Radio value="three">Three</Radio>
</RadioGroup>

Package Sidebar

Install

npm i @chakra-xui/radio

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

118 kB

Total Files

28

Last publish

Collaborators

  • meabed