Solidtype_heroui.CheckboxHeroUI's Checkbox: Kobalte's Checkbox.Root, its Label and its Input, in HeroUI's anatomy, with HeroUI's classes from Styles.Checkbox and the state its styles read -- selected, indeterminate, disabled, invalid, hovered, pressed, focus-visible -- declared as React Aria writes it. Its props are named as HeroUI's documentation names them. A Description inside it, but outside its content, is its own, which its input is described by. Inside a Checkbox_group, it is checked while its value is among the group's, and takes the group's variant where it sets none, and its state.
<Checkbox default_selected=true>
<Checkbox.Content>
<Checkbox.Control><Checkbox.Indicator /></Checkbox.Control>
<Label>"Accept terms"</Label>
</Checkbox.Content>
</Checkbox>A part is used inside a Checkbox: elsewhere it raises Invalid_argument as it is made.
module Context : sig ... endmodule Content : sig ... endThe clickable label that holds the control and its Label: Kobalte's Checkbox.Label, the checkbox's input inside it.
module Control : sig ... endThe box the indicator is drawn in.
module Indicator : sig ... endThe mark: HeroUI's check, drawn in as it is selected, or its dash while indeterminate, unless given children of its own.
module Props : sig ... endval make : Props.t -> Solidtype.Jsx.elementval component : Props.t Solidtype.Jsx.component