Themed radio group with sizes, variants, and accent colors.
Summary
Functions
An item in the radio group.
Attributes
id(:string) - Defaults tonil.value(:string) (required)disabled(:boolean) - Defaults tofalse.checked(:boolean) - Defaults tofalse.size(:string) - Defaults to"2". Must be one of"1","2", or"3".variant(:string) - Defaults to"surface". Must be one of"surface","classic", or"soft".color(:string) - Color utility class string. One of: gray, gold, bronze, brown, yellow, amber, orange, tomato, red, ruby, crimson, pink, plum, purple, violet, iris, indigo, blue, cyan, teal, jade, green, grass, lime, mint, sky. Must be one of"gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint", or"sky".high_contrast(:boolean) - Whether to increase color contrast with the background.class(:string) - Defaults tonil.m(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mx(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.my(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mt(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mr(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mb(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.ml(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.- Global attributes are accepted.
Slots
inner_block
The root container for the radio group.
Attributes
id(:string) (required)size(:string) - Defaults to"2". Must be one of"1","2", or"3".variant(:string) - Defaults to"surface". Must be one of"surface","classic", or"soft".value(:string) - Defaults tonil.default_value(:string) - Defaults tonil.on_change(:string) - Defaults tonil.disabled(:boolean) - Defaults tofalse.name(:string) - Defaults tonil.required(:boolean) - Defaults tofalse.orientation(:string) - Defaults to"vertical". Must be one of"horizontal","vertical", or"undefined".color(:string) - Color utility class string. One of: gray, gold, bronze, brown, yellow, amber, orange, tomato, red, ruby, crimson, pink, plum, purple, violet, iris, indigo, blue, cyan, teal, jade, green, grass, lime, mint, sky. Must be one of"gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint", or"sky".high_contrast(:boolean) - Whether to increase color contrast with the background.as_child(:boolean) - Composes the component into its immediate child instead of rendering its own HTML element. Defaults tofalse.class(:string) - Defaults tonil.m(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mx(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.my(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mt(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mr(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.mb(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.ml(:any) - Margin utility class string or map. Example:1or%{xs: '1', sm: '2'}.- Global attributes are accepted.
Slots
inner_block(required)