Group
A group represents a set of related UI controls, and supports interactive states for styling.
Serial number
––
isDisabled
isInvalid
API
Name | Type | |
---|---|---|
isDisabled | boolean | |
Whether the group is disabled. | ||
isReadOnly | boolean | |
Whether the group is read only. | ||
children | ChildrenOrFunction | |
The children of the component. A function may be provided to alter the children based on component state. | ||
Default className: react-aria-Group
Render Prop | CSS Selector |
---|---|
isHovered | CSS Selector: [data-hovered]
|
Whether the group is currently hovered with a mouse. | |
isFocusWithin | CSS Selector: [data-focus-within]
|
Whether an element within the group is focused, either via a mouse or keyboard. | |
isFocusVisible | CSS Selector: [data-focus-visible]
|
Whether an element within the group is keyboard focused. | |
isDisabled | CSS Selector: [data-disabled]
|
Whether the group is disabled. | |
isInvalid | CSS Selector: [data-invalid]
|
Whether the group is invalid. |