useId
useId
is a Atomico Hook for generating unique IDs that can be passed to accessibility attributes.
Syntax
Example
Use ID generate a unique ID for each component, this id can be useful for referencing CSS selectors or creating names for inputs that only the component knows about.
Last updated