Solidtype_heroui.Checkbox_groupHeroUI's CheckboxGroup: a <div role="group"> of Checkboxes, with HeroUI's classes from Styles.CheckboxGroup, that keeps the values its checkboxes check, controlled or its own. A checkbox inside it is checked while its value is among them, and checks or unchecks it as it is clicked; it takes the group's variant where it sets none, and its state. A Label inside it, but outside a checkbox's content, names the group, and a Description describes it. It is disabled as is_disabled says, else as the Fieldset it is in is.
<Checkbox_group name="interests" default_value=(fun () -> [ "coding" ])>
<Label>"Interests"</Label>
<Checkbox value="coding">
<Checkbox.Content>"Coding"</Checkbox.Content>
</Checkbox>
</Checkbox_group>Kobalte has checkboxes but no group of them: the group is built on Kobalte's checkboxes, each its own Checkbox.Root, which the group checks and is told of.
type group = {checked : string -> bool;set : string -> bool -> unit;variant : unit -> [ `primary | `secondary ] option;disabled : unit -> bool;invalid : unit -> bool;read_only : unit -> bool;name : unit -> string option;described_by : unit -> string option;}What a group's checkboxes read of it: whether a value is checked, read as it changes; set value on, which checks or unchecks it; the variant they take where they set none; its state; the name they submit with; and the id of its description, which their inputs are described by.
module Context : sig ... endmodule Props : sig ... endval make : Props.t -> Solidtype.Jsx.elementval component : Props.t Solidtype.Jsx.component