# Side sheets

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

### Title Side Sheet

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

### Title Side Sheet

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.

## Standard side sheet

Standard side sheets display content that complements the screen’s primary content. They remain visible while users interact with primary content.

    <!-- trigger sheets -->
    <button data-type="sheets" data-target="#sheet_xa">Show sheet</button>

    <!-- side sheets -->
    <div id="sheet_xa" class="show [&.show]:w-[360px] w-0 relative bg-white dark:bg-black h-full duration-[400ms] ease-[cubic-bezier(0, 0, 0, 1)] flex flex-col gap-2">
      <!-- header -->
      <div class="min-h-[56px] flex flex-row items-center gap-3 px-6 pt-6">
        <h3 class="flex flex-grow text-base tracking-[.009375em]">Title Side Sheet</h3>
        <button data-close="#sheet_xa" class="flex items-center justify-center">
          <span class="material-symbols-outlined">close</span>
        </button>
      </div>
      <!-- body -->
      <div class="relative text-left px-6 py-2 overflow-y-scroll scrollbars">
        <p class="text-sm tracking-[.01785em] mb-4">Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.</p>
        <p class="text-sm tracking-[.01785em] mb-4">Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.</p>
      </div>
      <hr class="border-gray-200 dark:border-gray-700">
      <!-- footer -->
      <div class="min-h-[56px] flex flex-row items-center gap-3 px-6 pt-4 pb-6">
        <button class="btn relative flex flex-row items-center justify-center gap-x-2 py-2.5 px-6 rounded-[6.25rem] hover:shadow-md text-sm tracking-[.00714em] font-medium bg-primary-600 text-white dark:bg-primary-200 dark:text-primary-800">
          Save
        </button>
        <button class="btn-outline relative flex flex-row items-center justify-center gap-x-2 py-2.5 px-6 rounded-[6.25rem] text-sm tracking-[.00714em] font-medium border border-gray-500 text-primary-600 dark:border-gray-400 dark:text-primary-200">
         Cancel
        </button>
      </div>
    </div>

## Modal (dialog) side sheet

Modal side sheets are preferred on mobile instead of standard side sheets, due to limited screen size. They can display the same types of content as standard side sheets, but must be dismissed in order to interact with the underlying content.

    <!-- trigger sheets -->
    <button data-type="dialogs" data-target="#sheet_xb">Show sheet dialog</button>

    <!-- Sheets dialogs -->
    <div id="sheet_xb" class="[&.show_.bgDialog]:opacity-60 [&.show_.bgDialog]:inset-0 [&.show_.dialog]:translate-x-0">
      <!-- background sheets dialogs -->
      <div data-close="#sheet_xb" class="bgDialog fixed z-[60] opacity-0 -top-full bg-neutral-900"></div>
      <!-- side sheets dialogs -->
      <div class="dialog fixed top-0 bottom-0 right-0 rounded-l-2xl w-2/3 sm:w-[420px] z-[70] bg-surface-100 dark:bg-surfacedark-100 transition-transform translate-x-full duration-[400ms] flex flex-col gap-2">
        <!-- header -->
        <div class="min-h-[56px] flex flex-row items-center gap-3 px-6 pt-6">
          <h3 class="flex flex-grow text-base tracking-[.009375em]">Title Side Sheet</h3>
          <button data-close="#sheet_xb" class="flex items-center justify-center">
            <span class="material-symbols-outlined">close</span>
          </button>
        </div>
        <!-- body -->
        <div class="relative text-left px-6 py-2 overflow-y-scroll scrollbars">
          <p class="text-sm tracking-[.01785em] mb-4">Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.</p>
          <p class="text-sm tracking-[.01785em] mb-4">Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.</p>
          <p class="text-sm tracking-[.01785em] mb-4">Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.Side sheets are surfaces containing supplementary content or actions to support tasks as part of a flow.</p>
        </div>
      </div>
    </div>

### Search

## Theme Settings

### Light & Dark

### Theme Colors

### Layouts