Sha256: 4c307b6ddb846e71b0c522fd6577d83f5a67524e2f13892a72c31a8c010305db

Contents?: true

Size: 1.1 KB

Versions: 29

Compression:

Stored size: 1.1 KB

Contents

<!--
  This example requires some changes to your config:
  
  ```
  // tailwind.config.js
  module.exports = {
    // ...
    plugins: [
      // ...
      require('@tailwindcss/forms'),
    ],
  }
  ```
-->
<div>
  <label for="price" class="block text-sm font-medium text-gray-700">Price</label>
  <div class="relative mt-1 rounded-md shadow-sm">
    <div class="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
      <span class="text-gray-500 sm:text-sm">$</span>
    </div>
    <input type="text" name="price" id="price" class="block w-full rounded-md border-gray-300 pl-7 pr-12 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm" placeholder="0.00">
    <div class="absolute inset-y-0 right-0 flex items-center">
      <label for="currency" class="sr-only">Currency</label>
      <select id="currency" name="currency" class="h-full rounded-md border-transparent bg-transparent py-0 pl-2 pr-7 text-gray-500 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm">
        <option>USD</option>
        <option>CAD</option>
        <option>EUR</option>
      </select>
    </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/form/input-group/13.html
tailwind_dsl-0.0.31 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.30 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.29 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.28 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.27 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.26 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.25 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.24 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.23 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.22 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.21 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.20 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.19 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.18 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.17 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.16 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.15 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.14 .components/tui/application-ui/component/form/input-group/13.html
tailwind_dsl-0.0.13 .components/tui/application-ui/component/form/input-group/13.html