Module Solidtype_heroui.Radio_group

HeroUI's RadioGroup: Kobalte's RadioGroup.Root, the Radios inside it of which one at most is chosen, with HeroUI's classes from Styles.RadioGroup and the state its styles read -- orientation, disabled, invalid -- declared as React Aria writes it. A Label inside it, but outside a radio's content, is the group's, which names it, and a Description the group's, which describes it. It is disabled as is_disabled says, else as the Fieldset it is in is. Its props are named as HeroUI's documentation names them.

  <Radio_group default_value="pro">
    <Label>"Plan"</Label>
    <Radio value="starter">
      <Radio.Content>
        <Radio.Control><Radio.Indicator /></Radio.Control>
        "Starter"
      </Radio.Content>
    </Radio>
  </Radio_group>
type group = {
  1. value : unit -> string option;
  2. disabled : unit -> bool;
  3. invalid : unit -> bool;
  4. read_only : unit -> bool;
  5. required : unit -> bool;
}

What a group's radios read of it: the value chosen, if any, and whether it is disabled, invalid, read-only or required.

module Context : sig ... end
module Props : sig ... end