Skip to content

How to add a label to ActionGroup #3674

Answered by snowystinger
martpet asked this question in Q&A
Discussion options

You must be logged in to vote

ActionGroup accepts an Aria labelledby https://react-spectrum.adobe.com/react-spectrum/ActionGroup.html#props
And we do have an undocumented Label component. https://www.npmjs.com/package/@react-spectrum/label not sure what our plans are for officially supporting that, but it hasn't changed much. You could use that for now. You'd need to look at the source and stories for how to use it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@martpet
Comment options

@devongovett
Comment options

Answer selected by martpet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants