Skip to main content

Overview

RadioGroup is a set of flexible React Native components designed for creating radio buttons.

Light mode

Dark mode

Installation

API

RadioGroup

  • defaultValue: string - The default value of the radio group.

RadioGroupItem

  • value: boolean - The value of the button.
  • label?: string (optional) - The label of the button (rendered as <Text>).
  • labelClasses?: string (optional) - The classes for the label.
  • className?: string (optional) - The classes for the switch.

RadioGroupLabel

  • value: string - The value of the label (needs to match the value of the radio group item).
  • className?: string (optional) - The classes for the label.

Usage