Radio

The <Radio /> component extends <input type="radio" /> and allows basic styling.

import { RadioGroup, Radio } from 'minerva-ui'
Preview

Pizza Toppings

Source

Props

These are props related to the Radio component.

NameTypeIs RequiredDefaultDescription
valuestringoptionalnoneLabel for radio
isDisabledbooleanoptionalnoneSets if radio is able to be selected

These are props related to the Radio Group component.

NameTypeIs RequiredDefaultDescription
valuestringoptionalnoneSelected value of radio group
radioColorstringoptional#5850ecColor of radio button
radioSizestringoptional16pxSize of radio button
onChangestringoptionalnoneAction to take when the state of a radio button in the group is changed