New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Tabs #1
Comments
Pico try to use only natives HTML elements. What could be the HTML structure of such a component? The accordion component is the one that most closely resembles your request: Actually, with the same HTML structure, and still without Javascript, it's possible to create a tabs component. I preferred to style |
Tabs are essential. Even the "Write Comment" section in github issues (which I am writing right now) uses tabs. |
Yes, tabs are definitely useful. I like this tabs integrations: Tabsy CSS, Pure CSS tabs, Responsive pure CSS tabs & accordion I'm open to Pull Requests as long as the new tab feature is an optional component and is disabled in classless mode. |
I don't know enough JavaScript |
There are aria roles for tablist, tab, and tabpanel, which would let Pico do classless tabs. |
support tooltip directions with placement property
Missing tabs are the only component that stops me from using picocss. There is a classless option with role=tablist. The disadvantage is that it requires Javascript, which was no obstacle for the picocss dialog. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tablist_role |
It would be great if pico had tabs, where each tab reveals some different content.
The text was updated successfully, but these errors were encountered: