On which framework/platform are you having an issue?
React
Which UI component?
Primitive components
How is your app built?
React
What browsers are you seeing the problem on?
No response
Please describe your bug.
When applying a className at the top level to the primitive, it's a little misleading where it ends up. Instead of applying to an element wrapping the container, we apply it to our element that wraps the tab buttons.
What's the expected behaviour?
I would either expect a way to pass a className down to the parent level element or to have classes on those elements to make styling them easier.
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Primitive components
How is your app built?
React
What browsers are you seeing the problem on?
No response
Please describe your bug.
When applying a className at the top level to the primitive, it's a little misleading where it ends up. Instead of applying to an element wrapping the container, we apply it to our element that wraps the tab buttons.
What's the expected behaviour?
I would either expect a way to pass a className down to the parent level element or to have classes on those elements to make styling them easier.
Help us reproduce the bug!
Pass a className to the Tabs primitive:
Code Snippet
Additional information and screenshots
No response