Module Solidtype_heroui.Fieldset

HeroUI's Fieldset: a <fieldset> of fields, with HeroUI's classes from Styles.Fieldset, its Legend, the Group of its fields and its Actions. While it is disabled, it gives the Buttons, Links and Radio_groups inside it the state, as HeroUI's gives React Aria's: the browser disables a native button or input inside a disabled fieldset, but neither a group nor the state its styles read. A component's own is_disabled is its own.

  <Fieldset>
    <Fieldset.Legend>"Profile"</Fieldset.Legend>
    <Fieldset.Group>
      <Text_field name="name"><Label>"Name"</Label><Input /></Text_field>
    </Fieldset.Group>
    <Fieldset.Actions><Button type_=`submit>"Save"</Button></Fieldset.Actions>
  </Fieldset>

Kobalte has no fieldset. A part's classes are the same in any fieldset, so a part needs none around it.

module Context : sig ... end

Whether the fieldset a component is inside is disabled, read as it changes.

val disabled : unit -> unit -> bool

disabled (), called as a component is made, is a read of whether the fieldset it is inside is disabled, false in none.

module Legend : sig ... end

The fieldset's caption: a <legend>.

module Group : sig ... end

The fields, laid out together: a <div>.

module Actions : sig ... end

Its buttons, laid out together: a <div>.

module Props : sig ... end