themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.29k stars 708 forks source link

Demo Documentation for Tabs broken #890

Closed christoferd closed 3 weeks ago

christoferd commented 3 weeks ago

Describe the bug Some demos in Documentation > Tabs

To Reproduce Steps to reproduce the behavior:

  1. Go to https://flowbite.com/docs/components/tabs/
  2. Click on the button/tab you see in the image below...

Expected behavior Switch tabs content

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information): Did not test on smartphone.

Additional context No.

Lexachoc commented 3 weeks ago

Hi~These are just designs, so they are not actually broken. You need to add attributes to the elements to make them switchable. Check https://flowbite.com/docs/components/tabs/#interactive-tabs

zoltanszogyenyi commented 3 weeks ago

@Lexachoc is right, the first few examples are static. We might update them though in the future.