opxica/modular-ui

Tabs/Tabview Implementation

oxelf opened this issue · 0 comments

So I wanted to implement the Tab view and looked at the tailwind documentation for their Tabs component. https://www.material-tailwind.com/docs/react/tabs

The question I have is, do we want a real Tab view where you supply the tabs and children, or just the Tabs component where you can switch between tabs but need to use a page view and handle the children then for yourself. I think the last one brings more possibilities, like using the tabs as a segmented button.
Would love to hear your opinion before I start working on it!

Bildschirmfoto 2024-01-08 um 16 20 43