Sha256: fab192d9674541926e95e695047a4f5c8f7062d70ec480c2328d7dfc42fac91a

Contents?: true

Size: 1.34 KB

Versions: 29

Compression:

Stored size: 1.34 KB

Contents

<!--
  This example requires some changes to your config:
  
  ```
  // tailwind.config.js
  module.exports = {
    // ...
    plugins: [
      // ...
      require('@tailwindcss/forms'),
    ],
  }
  ```
-->
<div>
  <div class="sm:hidden">
    <label for="tabs" class="sr-only">Select a tab</label>
    <!-- Use an "onChange" listener to redirect the user to the selected tab URL. -->
    <select id="tabs" name="tabs" class="block w-full rounded-md border-gray-300 focus:border-indigo-500 focus:ring-indigo-500">
      <option>My Account</option>

      <option>Company</option>

      <option selected>Team Members</option>

      <option>Billing</option>
    </select>
  </div>
  <div class="hidden sm:block">
    <nav class="flex space-x-4" aria-label="Tabs">
      <!-- Current: "bg-indigo-100 text-indigo-700", Default: "text-gray-500 hover:text-gray-700" -->
      <a href="#" class="text-gray-500 hover:text-gray-700 px-3 py-2 font-medium text-sm rounded-md">My Account</a>

      <a href="#" class="text-gray-500 hover:text-gray-700 px-3 py-2 font-medium text-sm rounded-md">Company</a>

      <a href="#" class="bg-indigo-100 text-indigo-700 px-3 py-2 font-medium text-sm rounded-md" aria-current="page">Team Members</a>

      <a href="#" class="text-gray-500 hover:text-gray-700 px-3 py-2 font-medium text-sm rounded-md">Billing</a>
    </nav>
  </div>
</div>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
tailwind_dsl-0.0.12 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.11 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.10 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.9 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.8 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.7 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.6 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.5 .components/tui/application-ui/component/navigation/tabs/05.html
tailwind_dsl-0.0.4 .components/tui/application-ui/component/navigation/tabs/05.html