Catalogo design-system forms/textareas

← catalogo / forms/textareas

Forms · Textareas · With title and pill actions

TW-FO-TE-04 Tailwind Plus

tailwind/application-ui/forms/textareas/04-with-title-and-pill-actions

Pacchetti da installare

@tailwindplus/elements

Da toccare per il marchio

  • colore indigo: sostituisci col colore del marchio
  • foto segnaposto da unsplash: sostituisci le immagini

Sorgente (html)

<!-- Include this script tag or install `@tailwindplus/elements` via npm: -->
<!-- <script src="https://cdn.jsdelivr.net/npm/@tailwindplus/elements@1" type="module"></script> -->
<form action="#" class="relative">
  <div class="rounded-lg bg-white outline-1 -outline-offset-1 outline-gray-300 focus-within:outline-2 focus-within:-outline-offset-2 focus-within:outline-indigo-600 dark:bg-gray-800/50 dark:outline-white/10 dark:focus-within:outline-indigo-500">
    <label for="title" class="sr-only">Title</label>
    <input id="title" type="text" name="title" placeholder="Title" class="block w-full px-3 pt-2.5 text-lg font-medium text-gray-900 placeholder:text-gray-400 focus:outline-none dark:text-white dark:placeholder:text-gray-500" />
    <label for="description" class="sr-only">Description</label>
    <textarea id="description" name="description" rows="2" placeholder="Write a description..." class="block w-full resize-none px-3 py-1.5 text-base text-gray-900 placeholder:text-gray-400 focus:outline-none sm:text-sm/6 dark:text-white dark:placeholder:text-gray-500"></textarea>

    <!-- Spacer element to match the height of the toolbar -->
    <div aria-hidden="true">
      <div class="py-2">
        <div class="h-9"></div>
      </div>
      <div class="h-px"></div>
      <div class="py-2">
        <div class="py-px">
          <div class="h-9"></div>
        </div>
      </div>
    </div>
  </div>

  <div class="absolute inset-x-px bottom-0">
    <!-- Actions: These are just examples to demonstrate the concept, replace/wire these up however makes sense for your project. -->
    <div class="flex flex-nowrap justify-end space-x-2 px-2 py-2 sm:px-3">
      <el-select name="assigned" value="" class="shrink-0">
        <button type="button" aria-label="Assign" class="relative inline-flex items-center rounded-full bg-gray-50 px-2 py-2 text-sm font-medium whitespace-nowrap hover:bg-gray-100 sm:px-3 dark:bg-white/5 dark:hover:bg-white/10">
          <el-selectedcontent>
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-gray-300 sm:-ml-1 dark:text-gray-500">
                <path d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-5.5-2.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM10 12a5.99 5.99 0 0 0-4.793 2.39A6.483 6.483 0 0 0 10 16.5a6.483 6.483 0 0 0 4.793-2.11A5.99 5.99 0 0 0 10 12Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="hidden truncate text-gray-500 sm:block dark:text-gray-300">Assign</span>
            </div>
          </el-selectedcontent>
        </button>

        <el-options anchor="bottom end" popover class="max-h-56 w-52 overflow-auto rounded-lg bg-white py-3 text-base shadow-sm outline-1 outline-black/5 [--anchor-gap:--spacing(1)] data-leave:transition data-leave:transition-discrete data-leave:duration-100 data-leave:ease-in data-closed:data-leave:opacity-0 sm:text-sm dark:bg-gray-800 dark:-outline-offset-1 dark:outline-white/10">
          <el-option value="" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-3 in-[el-selectedcontent]:gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-gray-400 in-[el-selectedcontent]:text-gray-300 dark:text-gray-500 dark:in-[el-selectedcontent]:text-gray-500">
                <path d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-5.5-2.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM10 12a5.99 5.99 0 0 0-4.793 2.39A6.483 6.483 0 0 0 10 16.5a6.483 6.483 0 0 0 4.793-2.11A5.99 5.99 0 0 0 10 12Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden dark:text-white">Unassigned</span>
              <span class="hidden truncate font-medium text-gray-500 in-[el-selectedcontent]:sm:block dark:text-gray-400">Assign</span>
            </div>
          </el-option>
          <el-option value="wade-cooper" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-3 in-[el-selectedcontent]:gap-2">
              <img src="https://images.unsplash.com/photo-1491528323818-fdd1faba62cc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" class="size-5 shrink-0 rounded-full bg-gray-100 outline -outline-offset-1 outline-black/5 dark:bg-gray-800 dark:outline-white/10" />
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Wade Cooper</span>
            </div>
          </el-option>
          <el-option value="arlene-mccoy" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-3 in-[el-selectedcontent]:gap-2">
              <img src="https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" class="size-5 shrink-0 rounded-full bg-gray-100 outline -outline-offset-1 outline-black/5 dark:bg-gray-800 dark:outline-white/10" />
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Arlene Mccoy</span>
            </div>
          </el-option>
          <el-option value="devon-webb" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-3 in-[el-selectedcontent]:gap-2">
              <img src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2.25&w=256&h=256&q=80" alt="" class="size-5 shrink-0 rounded-full bg-gray-100 outline -outline-offset-1 outline-black/5 dark:bg-gray-800 dark:outline-white/10" />
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Devon Webb</span>
            </div>
          </el-option>
        </el-options>
      </el-select>

      <el-select name="labelled" value="" class="shrink-0">
        <button type="button" aria-label="Add a label" class="relative inline-flex items-center rounded-full bg-gray-50 px-2 py-2 text-sm font-medium whitespace-nowrap hover:bg-gray-100 sm:px-3 dark:bg-white/5 dark:hover:bg-white/10">
          <el-selectedcontent>
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-gray-300 sm:-ml-1 dark:text-gray-500">
                <path d="M4.5 2A2.5 2.5 0 0 0 2 4.5v3.879a2.5 2.5 0 0 0 .732 1.767l7.5 7.5a2.5 2.5 0 0 0 3.536 0l3.878-3.878a2.5 2.5 0 0 0 0-3.536l-7.5-7.5A2.5 2.5 0 0 0 8.38 2H4.5ZM5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="hidden truncate text-gray-500 sm:block dark:text-gray-400">Label</span>
            </div>
          </el-selectedcontent>
        </button>

        <el-options anchor="bottom end" popover class="max-h-56 w-52 overflow-auto rounded-lg bg-white py-3 text-base shadow-sm outline-1 outline-black/5 [--anchor-gap:--spacing(1)] data-leave:transition data-leave:transition-discrete data-leave:duration-100 data-leave:ease-in data-closed:data-leave:opacity-0 sm:text-sm dark:bg-gray-800 dark:-outline-offset-1 dark:outline-white/10">
          <el-option value="" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-300 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-500">
                <path d="M4.5 2A2.5 2.5 0 0 0 2 4.5v3.879a2.5 2.5 0 0 0 .732 1.767l7.5 7.5a2.5 2.5 0 0 0 3.536 0l3.878-3.878a2.5 2.5 0 0 0 0-3.536l-7.5-7.5A2.5 2.5 0 0 0 8.38 2H4.5ZM5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden dark:text-white">Unlabelled</span>
              <span class="hidden truncate text-gray-500 sm:in-[el-selectedcontent]:block dark:text-gray-400">Label</span>
            </div>
          </el-option>
          <el-option value="engineering" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-500 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-400">
                <path d="M4.5 2A2.5 2.5 0 0 0 2 4.5v3.879a2.5 2.5 0 0 0 .732 1.767l7.5 7.5a2.5 2.5 0 0 0 3.536 0l3.878-3.878a2.5 2.5 0 0 0 0-3.536l-7.5-7.5A2.5 2.5 0 0 0 8.38 2H4.5ZM5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Engineering</span>
            </div>
          </el-option>
          <el-option value="marketing" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-500 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-400">
                <path d="M4.5 2A2.5 2.5 0 0 0 2 4.5v3.879a2.5 2.5 0 0 0 .732 1.767l7.5 7.5a2.5 2.5 0 0 0 3.536 0l3.878-3.878a2.5 2.5 0 0 0 0-3.536l-7.5-7.5A2.5 2.5 0 0 0 8.38 2H4.5ZM5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Marketing</span>
            </div>
          </el-option>
          <el-option value="design" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-500 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-400">
                <path d="M4.5 2A2.5 2.5 0 0 0 2 4.5v3.879a2.5 2.5 0 0 0 .732 1.767l7.5 7.5a2.5 2.5 0 0 0 3.536 0l3.878-3.878a2.5 2.5 0 0 0 0-3.536l-7.5-7.5A2.5 2.5 0 0 0 8.38 2H4.5ZM5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Design</span>
            </div>
          </el-option>
          <el-option value="human-resources" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-500 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-400">
                <path d="M4.5 2A2.5 2.5 0 0 0 2 4.5v3.879a2.5 2.5 0 0 0 .732 1.767l7.5 7.5a2.5 2.5 0 0 0 3.536 0l3.878-3.878a2.5 2.5 0 0 0 0-3.536l-7.5-7.5A2.5 2.5 0 0 0 8.38 2H4.5ZM5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Human Resources</span>
            </div>
          </el-option>
        </el-options>
      </el-select>

      <el-select name="dated" value="" class="shrink-0">
        <button type="button" aria-label="Add a due date" class="relative inline-flex items-center rounded-full bg-gray-50 px-2 py-2 text-sm font-medium whitespace-nowrap hover:bg-gray-100 sm:px-3 dark:bg-white/5 dark:hover:bg-white/10">
          <el-selectedcontent>
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-gray-300 sm:-ml-1 dark:text-gray-500">
                <path d="M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="hidden truncate text-gray-500 sm:block dark:text-gray-400">Due date</span>
            </div>
          </el-selectedcontent>
        </button>

        <el-options anchor="bottom end" popover class="max-h-56 w-52 overflow-auto rounded-lg bg-white py-3 text-base shadow-sm outline-1 outline-black/5 [--anchor-gap:--spacing(1)] data-leave:transition data-leave:transition-discrete data-leave:duration-100 data-leave:ease-in data-closed:data-leave:opacity-0 sm:text-sm dark:bg-gray-800 dark:-outline-offset-1 dark:outline-white/10">
          <el-option value="" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-300 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-500">
                <path d="M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden dark:text-white">No due date</span>
              <span class="hidden truncate text-gray-500 sm:in-[el-selectedcontent]:block dark:text-gray-400">Due date</span>
            </div>
          </el-option>
          <el-option value="today" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-500 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-400">
                <path d="M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Today</span>
            </div>
          </el-option>
          <el-option value="tomorrow" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-500 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-400">
                <path d="M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">Tomorrow</span>
            </div>
          </el-option>
          <el-option value="this-week" class="block cursor-default bg-white px-3 py-2 select-none focus:relative focus:bg-gray-100 focus:outline-hidden focus:hover:outline-hidden dark:bg-gray-800 dark:focus:bg-white/5">
            <div class="flex items-center gap-2">
              <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="hidden size-5 shrink-0 text-gray-500 in-[el-selectedcontent]:block sm:-ml-1 dark:text-gray-400">
                <path d="M5.75 2a.75.75 0 0 1 .75.75V4h7V2.75a.75.75 0 0 1 1.5 0V4h.25A2.75 2.75 0 0 1 18 6.75v8.5A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25v-8.5A2.75 2.75 0 0 1 4.75 4H5V2.75A.75.75 0 0 1 5.75 2Zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75Z" clip-rule="evenodd" fill-rule="evenodd" />
              </svg>
              <span class="block truncate font-medium in-[el-selectedcontent]:hidden in-[el-selectedcontent]:sm:block dark:text-white">This week</span>
            </div>
          </el-option>
        </el-options>
      </el-select>
    </div>
    <div class="flex items-center justify-between space-x-3 border-t border-gray-200 px-2 py-2 sm:px-3 dark:border-white/10">
      <div class="flex">
        <button type="button" class="group -my-2 -ml-2 inline-flex items-center rounded-full px-3 py-2 text-left text-gray-400 dark:text-gray-500">
          <svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="mr-2 -ml-1 size-5 group-hover:text-gray-500 dark:group-hover:text-white">
            <path d="M15.621 4.379a3 3 0 0 0-4.242 0l-7 7a3 3 0 0 0 4.241 4.243h.001l.497-.5a.75.75 0 0 1 1.064 1.057l-.498.501-.002.002a4.5 4.5 0 0 1-6.364-6.364l7-7a4.5 4.5 0 0 1 6.368 6.36l-3.455 3.553A2.625 2.625 0 1 1 9.52 9.52l3.45-3.451a.75.75 0 1 1 1.061 1.06l-3.45 3.451a1.125 1.125 0 0 0 1.587 1.595l3.454-3.553a3 3 0 0 0 0-4.242Z" clip-rule="evenodd" fill-rule="evenodd" />
          </svg>
          <span class="text-sm text-gray-500 italic group-hover:text-gray-600 dark:text-gray-400 dark:group-hover:text-white">Attach a file</span>
        </button>
      </div>
      <div class="shrink-0">
        <button type="submit" class="inline-flex items-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-xs hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 dark:bg-indigo-500 dark:shadow-none dark:hover:bg-indigo-400 dark:focus-visible:outline-indigo-500">Create</button>
      </div>
    </div>
  </div>
</form>