Sha256: 29a847e410c60c3003eac6a2878e262ce8dc030d97d6936414d4bb2a6691b389

Contents?: true

Size: 1.71 KB

Versions: 29

Compression:

Stored size: 1.71 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 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm">
      <option>My Account</option>

      <option>Company</option>

      <option selected>Team Members</option>

      <option>Billing</option>
    </select>
  </div>
  <div class="hidden sm:block">
    <div class="border-b border-gray-200">
      <nav class="-mb-px flex space-x-8" aria-label="Tabs">
        <!-- Current: "border-indigo-500 text-indigo-600", Default: "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300" -->
        <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">My Account</a>

        <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Company</a>

        <a href="#" class="border-indigo-500 text-indigo-600 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm" aria-current="page">Team Members</a>

        <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Billing</a>
      </nav>
    </div>
  </div>
</div>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
tailwind_dsl-0.0.32 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.31 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.30 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.29 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.28 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.27 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.26 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.25 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.24 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.23 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.22 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.21 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.20 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.19 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.18 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.17 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.16 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.15 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.14 .components/tui/application-ui/component/navigation/tabs/01.html
tailwind_dsl-0.0.13 .components/tui/application-ui/component/navigation/tabs/01.html