Tabs: Plain/Simple Variant #404
Unanswered
codytooker
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know Flux is meant to be a good opinionated styling for most things however I think components like Tabs should have a
plain
orsimple
variant that only has the minimal styles to make the panels hidden or visible.As an example of why this would be useful. In tailwind UI ecommerce there is a section for switching between product images. In the javascript code for these it uses headless UI's Tab component. I am recreating this with the Flux tabs by simply making a new variant called plain that only has these classes on panel
'hidden data-[selected]:block'
Beta Was this translation helpful? Give feedback.
All reactions