Module Solidtype_heroui.Radio

HeroUI's Radio: Kobalte's RadioGroup.Item, its ItemLabel and its ItemInput, in HeroUI's anatomy, with HeroUI's classes from Styles.Radio and the state its styles read -- selected, disabled, invalid, hovered, pressed, focus-visible -- declared as React Aria writes it. A Description inside it, but outside its content, is the radio's, which its input is described by.

  <Radio value="pro">
    <Radio.Content>
      <Radio.Control><Radio.Indicator /></Radio.Control>
      "Pro"
    </Radio.Content>
    <Description>"Advanced reporting"</Description>
  </Radio>

A radio is used inside a Radio_group, and a part inside a Radio: elsewhere each raises Invalid_argument as it is made.

type radio

What a radio's parts read of it.

module Context : sig ... end
module Content : sig ... end

The clickable label that holds the control and its text: Kobalte's RadioGroup.ItemLabel, the radio's input inside it.

module Control : sig ... end

The circle the indicator is drawn in.

module Indicator : sig ... end

The dot, which HeroUI's styles draw as the radio is selected, or the children it is given.

module Props : sig ... end