[Feature Request] Allow separating the tab from the tab panel #4755
criskell
started this conversation in
Feature requests
Replies: 1 comment
-
ENG-1985 [Feature Request] Allow separating the tab from the tab panel |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
It is currently not possible to decouple a tab from its tab panel in the React tree, making tasks such as placing a button next to the tab list difficult.
Describe the solution you'd like
Maybe one solution is to release TabPanel publicly.
heroui/packages/components/tabs/src/tabs.tsx
Line 59 in 11b939d
The react-aria-components component library allows us to accomplish this:
Describe alternatives you've considered
A solution to this is to use controlled tabs and perform manual checks, showing only the current tab.
Screenshots or Videos
No response
Beta Was this translation helpful? Give feedback.
All reactions