Tailwind CSS Modal Dialog Examples
A growing collection of modal dialog examples for Tailwind CSS. Copy and paste the HTML into your project and adjust it with utility classes.
<button type="button" class="btn btn-outline" id="login-modal-trigger">
Sign In
</button>
<dialog class="dialog" data-sp-toggle="#login-modal-trigger">
<div class="dialog-panel">
<button
type="button"
class="btn btn-ghost btn-xs btn-icon absolute top-3 right-3"
data-sp-dismiss=""
aria-label="Close"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="size-4"
>
<path d="M18 6 6 18"></path>
<path d="m6 6 12 12"></path>
</svg>
</button>
<div class="dialog-header">
<h2 class="dialog-title">Sign In</h2>
<p class="dialog-description">
Enter your credentials to access your account.
</p>
</div>
<div class="dialog-content">
<div class="field-group">
<form id="login-modal" class="field-group">
<div class="field">
<label class="label" for="login-modal-email">Email</label
><input
class="input"
id="login-modal-email"
type="email"
placeholder="[email protected]"
name="email"
/>
</div>
<div class="field">
<div class="flex w-full items-center">
<label class="label" for="login-modal-password">Password</label
><a
href="#"
class="ml-auto text-sm underline-offset-4 hover:underline"
>Forgot password?</a
>
</div>
<input
class="input"
id="login-modal-password"
type="password"
name="password"
/>
</div>
<button type="submit" class="btn">Sign In</button>
</form>
<div class="field-separator">
<span class="text-xs uppercase">Or continue with</span>
</div>
<div class="grid grid-cols-2 gap-5">
<button type="button" class="btn btn-outline">
<svg
class="icon-start"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path
d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
></path></svg
>Google</button
><button type="button" class="btn btn-outline">
<svg
class="icon-start"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
></path></svg
>GitHub
</button>
</div>
</div>
</div>
<div class="dialog-footer sm:justify-center">
<p class="text-sm text-muted-foreground">
Don't have an account?
<a
href="#"
class="font-medium text-foreground underline underline-offset-4"
>Sign up</a
>
</p>
</div>
</div>
</dialog><button type="button" class="btn btn-outline" id="sign-up-modal-trigger">
Sign Up
</button>
<dialog class="dialog" data-sp-toggle="#sign-up-modal-trigger">
<div class="dialog-panel">
<button
type="button"
class="btn btn-ghost btn-xs btn-icon absolute top-3 right-3"
data-sp-dismiss=""
aria-label="Close"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="size-4"
>
<path d="M18 6 6 18"></path>
<path d="m6 6 12 12"></path>
</svg>
</button>
<div class="dialog-header">
<h2 class="dialog-title">Sign Up</h2>
<p class="dialog-description">
Create an account to get started on the platform and unlock all features
and benefits.
</p>
</div>
<div class="dialog-content">
<div class="field-group">
<div class="grid grid-cols-2 gap-5">
<button type="button" class="btn btn-outline">
<svg
class="icon-start"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path
d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
></path></svg
>Google</button
><button type="button" class="btn btn-outline">
<svg
class="icon-start"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
></path></svg
>GitHub
</button>
</div>
<div class="field-separator">
<span class="text-xs uppercase">Or continue with</span>
</div>
<form id="sign-up-modal" class="field-group">
<div class="field">
<label class="label" for="sign-up-modal-email">Email</label
><input
class="input"
id="sign-up-modal-email"
type="email"
placeholder="[email protected]"
name="email"
/>
</div>
<div class="field">
<label class="label" for="sign-up-modal-password">Password</label
><input
class="input"
id="sign-up-modal-password"
type="password"
name="password"
/>
</div>
<button type="submit" class="btn">Create Account</button>
</form>
</div>
</div>
<div class="dialog-footer sm:justify-center">
<p class="text-sm text-muted-foreground">
Already have an account?
<a
href="#"
class="font-medium text-foreground underline underline-offset-4"
>Sign in</a
>
</p>
</div>
</div>
</dialog><button type="button" class="btn btn-outline" id="share-modal-trigger">
Share
</button>
<dialog class="dialog" data-sp-toggle="#share-modal-trigger">
<div class="dialog-panel">
<button
type="button"
class="btn btn-ghost btn-xs btn-icon absolute top-3 right-3"
data-sp-dismiss=""
aria-label="Close"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="size-4"
>
<path d="M18 6 6 18"></path>
<path d="m6 6 12 12"></path>
</svg>
</button>
<div class="dialog-header">
<h2 class="dialog-title">Share Document</h2>
<p class="dialog-description">
Invite others to view or edit this document and work together
seamlessly.
</p>
</div>
<div class="dialog-content gap-6">
<div class="flex gap-2">
<input
class="input flex-1"
type="text"
readonly=""
aria-label="Document link"
value="https://example.com/doc/abc123"
/><button
type="button"
class="btn btn-outline btn-icon"
aria-label="Copy link"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="14" height="14" x="8" y="8" rx="2" ry="2"></rect>
<path
d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
></path>
</svg>
</button>
</div>
<div class="separator"></div>
<span class="text-sm font-medium">People with access</span>
<div class="flex items-center justify-between gap-4">
<div class="flex items-center gap-3">
<span class="avatar avatar-lg"
><img
class="avatar-image"
alt="Leila Navarro"
src="https://images.unsplash.com/photo-1750390200282-bf7f669a9946?w=640&h=640&fit=facearea&facepad=3.2&auto=format&q=100&bg-remove=true&bg=e5e5e5"
/><span class="avatar-fallback">LN</span></span
>
<div class="text-sm">
<p class="font-medium text-foreground">Leila Navarro</p>
<p class="text-muted-foreground">[email protected]</p>
</div>
</div>
<select
class="select h-8 w-22"
aria-label="Permission for Leila Navarro"
>
<option value="write" selected="">Write</option>
<option value="read">Read</option>
</select>
</div>
<div class="flex items-center justify-between gap-4">
<div class="flex items-center gap-3">
<span class="avatar avatar-lg"
><img
class="avatar-image"
alt="Theo Marchetti"
src="https://images.unsplash.com/photo-1750390200293-92d5a788d3a2?w=640&h=640&fit=facearea&facepad=3&auto=format&q=100&bg-remove=true&bg=e5e5e5"
/><span class="avatar-fallback">TM</span></span
>
<div class="text-sm">
<p class="font-medium text-foreground">Theo Marchetti</p>
<p class="text-muted-foreground">[email protected]</p>
</div>
</div>
<select
class="select h-8 w-22"
aria-label="Permission for Theo Marchetti"
>
<option value="write">Write</option>
<option value="read" selected="">Read</option>
</select>
</div>
<div class="flex items-center justify-between gap-4">
<div class="flex items-center gap-3">
<span class="avatar avatar-lg"
><img
class="avatar-image"
alt="Maya Santoso"
src="https://images.unsplash.com/photo-1573497019236-17f8177b81e8?w=640&h=640&fit=facearea&facepad=3.2&auto=format&q=100&bg-remove=true&bg=e5e5e5"
/><span class="avatar-fallback">MS</span></span
>
<div class="text-sm">
<p class="font-medium text-foreground">Camille Laurent</p>
<p class="text-muted-foreground">[email protected]</p>
</div>
</div>
<select
class="select h-8 w-22"
aria-label="Permission for Camille Laurent"
>
<option value="write">Write</option>
<option value="read" selected="">Read</option>
</select>
</div>
</div>
</div>
</dialog><button type="button" class="btn btn-outline" id="feedback-modal-trigger">
Feedback
</button>
<dialog class="dialog" data-sp-toggle="#feedback-modal-trigger">
<form id="feedback" class="dialog-panel">
<button
type="button"
class="btn btn-ghost btn-xs btn-icon absolute top-3 right-3"
data-sp-dismiss=""
aria-label="Close"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="size-4"
>
<path d="M18 6 6 18"></path>
<path d="m6 6 12 12"></path>
</svg>
</button>
<div class="dialog-header">
<h2 class="dialog-title">Submit Feedback</h2>
<p class="dialog-description">Share your thoughts to help us improve.</p>
</div>
<div class="dialog-content">
<div class="field-group">
<div class="field">
<label class="label" for="feedback-title">Title</label
><input
class="input"
id="feedback-title"
type="text"
placeholder="Feedback title"
name="title"
/>
</div>
<div class="field">
<label class="label" for="feedback-type">Type</label
><select class="select" id="feedback-type" name="type">
<option value="">Select type</option>
<option value="suggestion">Suggestion</option>
<option value="complaint">Complaint</option>
<option value="praise">Praise</option>
</select>
</div>
<div class="field">
<label class="label" for="feedback-description">Description</label
><textarea
class="textarea"
placeholder="Tell us more..."
id="feedback-description"
name="description"
></textarea>
</div>
</div>
</div>
<div class="dialog-footer">
<button type="button" class="btn btn-outline" data-sp-dismiss="">
Cancel</button
><button type="submit" class="btn">Submit</button>
</div>
</form>
</dialog><button type="button" class="btn btn-outline" id="payment-method-modal-trigger">
Add Payment Method
</button>
<dialog class="dialog" data-sp-toggle="#payment-method-modal-trigger">
<form id="pay" class="dialog-panel">
<button
type="button"
class="btn btn-ghost btn-xs btn-icon absolute top-3 right-3"
data-sp-dismiss=""
aria-label="Close"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="size-4"
>
<path d="M18 6 6 18"></path>
<path d="m6 6 12 12"></path>
</svg>
</button>
<div class="dialog-header">
<h2 class="dialog-title">Payment Method</h2>
<p class="dialog-description">
Choose how you'd like to pay for your order.
</p>
</div>
<div class="dialog-content gap-6">
<div
class="grid grid-cols-3 gap-3"
role="radiogroup"
aria-label="Payment method"
>
<label class="label"
><div class="field items-center gap-2 text-center">
<input
type="radio"
class="sr-only"
name="payment"
checked=""
value="card"
/><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
d="M11.343 18.031c.058.049.12.098.181.146-1.177.783-2.59 1.238-4.107 1.238C3.32 19.416 0 16.096 0 12c0-4.095 3.32-7.416 7.416-7.416 1.518 0 2.931.456 4.105 1.238-.06.051-.12.098-.165.15C9.6 7.489 8.595 9.688 8.595 12c0 2.311 1.001 4.51 2.748 6.031zm5.241-13.447c-1.52 0-2.931.456-4.105 1.238.06.051.12.098.165.15C14.4 7.489 15.405 9.688 15.405 12c0 2.31-1.001 4.507-2.748 6.031-.058.049-.12.098-.181.146 1.177.783 2.588 1.238 4.107 1.238C20.68 19.416 24 16.096 24 12c0-4.094-3.32-7.416-7.416-7.416zM12 6.174c-.096.075-.189.15-.28.231C10.156 7.764 9.169 9.765 9.169 12c0 2.236.987 4.236 2.551 5.595.09.08.185.158.28.232.096-.074.189-.152.28-.232 1.563-1.359 2.551-3.359 2.551-5.595 0-2.235-.987-4.236-2.551-5.595-.09-.08-.184-.156-.28-.231z"
></path></svg
><span class="text-sm font-medium">Card</span>
</div></label
><label class="label"
><div class="field items-center gap-2 text-center">
<input
type="radio"
class="sr-only"
name="payment"
value="paypal"
/><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
d="M15.607 4.653H8.941L6.645 19.251H1.82L4.862 0h7.995c3.754 0 6.375 2.294 6.473 5.513-.648-.478-2.105-.86-3.722-.86m6.57 5.546c0 3.41-3.01 6.853-6.958 6.853h-2.493L11.595 24H6.74l1.845-11.538h3.592c4.208 0 7.346-3.634 7.153-6.949a5.24 5.24 0 0 1 2.848 4.686M9.653 5.546h6.408c.907 0 1.942.222 2.363.541-.195 2.741-2.655 5.483-6.441 5.483H8.714Z"
></path></svg
><span class="text-sm font-medium">PayPal</span>
</div></label
><label class="label"
><div class="field items-center gap-2 text-center">
<input
type="radio"
class="sr-only"
name="payment"
value="apple"
/><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"
></path></svg
><span class="text-sm font-medium">Apple</span>
</div></label
>
</div>
<div class="field-group">
<div class="field">
<label class="label" for="pay-cardholder-name">Cardholder Name</label
><input
class="input"
id="pay-cardholder-name"
type="text"
placeholder="John Doe"
name="cardholder-name"
/>
</div>
<div class="field">
<label class="label" for="pay-card-number">Card Number</label
><input
class="input"
id="pay-card-number"
type="text"
placeholder="1234 5678 9012 3456"
name="card-number"
/>
</div>
<div class="grid grid-cols-3 gap-4">
<div class="field">
<label class="label" for="pay-month">Month</label
><input
class="input"
id="pay-month"
type="text"
placeholder="MM"
name="month"
/>
</div>
<div class="field">
<label class="label" for="pay-year">Year</label
><input
class="input"
id="pay-year"
type="text"
placeholder="YY"
name="year"
/>
</div>
<div class="field">
<label class="label" for="pay-cvv">CVV</label
><input
class="input"
id="pay-cvv"
type="text"
placeholder="123"
name="cvv"
/>
</div>
</div>
</div>
</div>
<div class="dialog-footer">
<button type="submit" class="btn w-full">Continue</button>
</div>
</form>
</dialog><button
type="button"
class="btn btn-outline"
id="payment-success-modal-trigger"
>
Pay Invoice
</button>
<dialog class="dialog" data-sp-toggle="#payment-success-modal-trigger">
<div class="dialog-panel">
<div class="dialog-header items-center text-center">
<div
class="mb-2 flex size-10 items-center justify-center rounded-lg bg-muted"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="size-6"
>
<path d="M20 6 9 17l-5-5"></path>
</svg>
</div>
<h2 class="dialog-title">Invoice paid</h2>
<p class="dialog-description">
You paid $17,975.30. A receipt copy was sent to [email protected].
</p>
</div>
<div class="dialog-footer sm:flex-col">
<button type="button" class="btn w-full">Next invoice</button
><button type="button" class="btn btn-outline w-full" data-sp-dismiss="">
Done
</button>
</div>
</div>
</dialog><button type="button" class="btn btn-outline" id="confirmation-modal-trigger">
Delete account
</button>
<dialog class="dialog" data-sp-toggle="#confirmation-modal-trigger">
<div class="dialog-panel">
<div class="dialog-header">
<h2 class="dialog-title">Are you absolutely sure?</h2>
<p class="dialog-description">
This will permanently delete your account and remove your data from our
servers.
</p>
</div>
<div class="dialog-footer">
<button type="button" class="btn btn-outline" data-sp-dismiss="">
Cancel</button
><button type="button" class="btn">Continue</button>
</div>
</div>
</dialog><button type="button" class="btn btn-outline" id="settings-modal-trigger">
Open Settings
</button>
<dialog class="dialog" data-sp-toggle="#settings-modal-trigger">
<div class="dialog-panel max-w-4xl gap-0 overflow-hidden p-0" tabindex="-1">
<div class="flex h-[640px] min-w-0 max-md:flex-col">
<aside
class="sidebar-static max-md:sidebar-static-row max-md:border-b md:border-e"
>
<header class="sidebar-header">
<h2 class="dialog-title px-2 md:sr-only">Settings</h2>
<button
type="button"
class="btn btn-ghost btn-sm btn-icon md:hidden"
data-sp-dismiss=""
aria-label="Close"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M18 6 6 18"></path>
<path d="m6 6 12 12"></path>
</svg>
</button>
<div class="input-group sidebar-input max-md:hidden">
<input
class="input"
type="search"
placeholder="Search"
aria-label="Search settings"
/>
<div class="input-group-addon">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m21 21-4.34-4.34"></path>
<circle cx="11" cy="11" r="8"></circle>
</svg>
</div>
</div>
</header>
<div class="sidebar-content scroll-fade">
<div class="sidebar-group">
<span class="sidebar-group-label">Settings</span>
<nav class="sidebar-menu">
<div class="sidebar-menu-item">
<a class="sidebar-menu-button active" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"
></path>
<circle cx="12" cy="12" r="3"></circle></svg
><span>General</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10"></circle>
<circle cx="12" cy="10" r="3"></circle>
<path
d="M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662"
></path></svg
><span>Account</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"
></path></svg
><span>Privacy</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="20" height="14" x="2" y="5" rx="2"></rect>
<line x1="2" x2="22" y1="10" y2="10"></line>
<path d="M6 14h2"></path></svg
><span>Billing</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m12 14 4-4"></path>
<path d="M3.34 19a10 10 0 1 1 17.32 0"></path></svg
><span>Usage</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path>
<path d="M16 3.128a4 4 0 0 1 0 7.744"></path>
<path d="M22 21v-2a4 4 0 0 0-3-3.87"></path>
<circle cx="9" cy="7" r="4"></circle></svg
><span>Team</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect
width="18"
height="11"
x="3"
y="11"
rx="2"
ry="2"
></rect>
<path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg
><span>Security</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10.268 21a2 2 0 0 0 3.464 0"></path>
<path
d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"
></path></svg
><span>Notifications</span></a
>
</div>
</nav>
</div>
<div class="sidebar-group">
<span class="sidebar-group-label">Customize</span>
<nav class="sidebar-menu">
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10 8h.01"></path>
<path d="M12 12h.01"></path>
<path d="M14 8h.01"></path>
<path d="M16 12h.01"></path>
<path d="M18 8h.01"></path>
<path d="M6 8h.01"></path>
<path d="M7 16h10"></path>
<path d="M8 12h.01"></path>
<rect width="20" height="16" x="2" y="4" rx="2"></rect></svg
><span>Shortcuts</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 22v-5"></path>
<path d="M15 8V2"></path>
<path
d="M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z"
></path>
<path d="M9 8V2"></path></svg
><span>Integrations</span></a
>
</div>
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"
></path></svg
><span>Plugins</span></a
>
</div>
</nav>
</div>
<div class="sidebar-group">
<span class="sidebar-group-label">Platform</span>
<nav class="sidebar-menu">
<div class="sidebar-menu-item">
<a class="sidebar-menu-button" href="#"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z"
></path>
<circle
cx="16.5"
cy="7.5"
r=".5"
fill="currentColor"
></circle></svg
><span>API keys</span
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ms-auto text-muted-foreground"
>
<path d="M7 7h10v10"></path>
<path d="M7 17 17 7"></path></svg
></a>
</div>
</nav>
</div>
</div>
</aside>
<main class="flex min-w-0 flex-1 flex-col overflow-hidden">
<header
class="flex h-12 shrink-0 items-center justify-end px-3 max-md:hidden"
>
<button
type="button"
class="btn btn-ghost btn-sm btn-icon"
data-sp-dismiss=""
aria-label="Close"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M18 6 6 18"></path>
<path d="m6 6 12 12"></path>
</svg>
</button>
</header>
<div
class="field-group scroll-fade scrollbar scrollbar-sm flex-1 overflow-y-auto p-6 md:px-8 md:pt-2"
>
<fieldset class="field-set">
<legend class="field-legend">Appearance</legend>
<div role="list" class="item-group gap-0">
<div
class="item item-sm px-0 @max-md:flex-col @max-md:items-start"
>
<div class="item-content">
<div class="item-title" id="settings-modal-theme-title">
Theme
</div>
</div>
<div class="item-actions @max-md:w-full">
<div
role="radiogroup"
class="radio-segmented radio-segmented-sm @max-md:w-full"
aria-labelledby="settings-modal-theme-title"
>
<label class="radio-segment"
><input
type="radio"
name="settings-modal-theme"
checked=""
value="system"
/><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="20" height="14" x="2" y="3" rx="2"></rect>
<line x1="8" x2="16" y1="21" y2="21"></line>
<line x1="12" x2="12" y1="17" y2="21"></line></svg
><span class="sr-only">System</span></label
><label class="radio-segment"
><input
type="radio"
name="settings-modal-theme"
value="light"
/><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="4"></circle>
<path d="M12 2v2"></path>
<path d="M12 20v2"></path>
<path d="m4.93 4.93 1.41 1.41"></path>
<path d="m17.66 17.66 1.41 1.41"></path>
<path d="M2 12h2"></path>
<path d="M20 12h2"></path>
<path d="m6.34 17.66-1.41 1.41"></path>
<path d="m19.07 4.93-1.41 1.41"></path></svg
><span class="sr-only">Light</span></label
><label class="radio-segment"
><input
type="radio"
name="settings-modal-theme"
value="dark"
/><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"
></path></svg
><span class="sr-only">Dark</span></label
>
</div>
</div>
</div>
<div class="item-separator my-0"></div>
<div class="item item-sm px-0">
<div class="item-content">
<div class="item-title" id="settings-modal-font-title">
Font
</div>
</div>
<div class="item-actions">
<button
type="button"
class="btn btn-ghost btn-sm"
id="settings-modal-font"
aria-labelledby="settings-modal-font-title settings-modal-font"
>
Sans serif<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="icon-end text-muted-foreground"
>
<path d="m6 9 6 6 6-6"></path>
</svg>
</button>
<div
class="dropdown"
data-sp-toggle="#settings-modal-font"
data-sp-placement="bottom-end"
>
<div class="dropdown-label">Font</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-font"
checked=""
value="sans"
/>Sans serif
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-font"
value="serif"
/>Serif
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-font"
value="mono"
/>Monospace
</div>
</div>
</div>
</div>
<div class="item-separator my-0"></div>
<div
class="item item-sm px-0 @max-md:flex-col @max-md:items-start"
>
<div class="item-content">
<div class="item-title" id="settings-modal-text-size-title">
Text size
</div>
<p class="item-description">
Size of the text in conversations.
</p>
</div>
<div class="item-actions @max-md:w-full">
<div
role="radiogroup"
class="radio-segmented radio-segmented-sm @max-md:w-full"
aria-labelledby="settings-modal-text-size-title"
>
<label class="radio-segment"
><input
type="radio"
name="settings-modal-text-size"
value="small"
/><span>Small</span></label
><label class="radio-segment"
><input
type="radio"
name="settings-modal-text-size"
checked=""
value="medium"
/><span>Medium</span></label
><label class="radio-segment"
><input
type="radio"
name="settings-modal-text-size"
value="large"
/><span>Large</span></label
>
</div>
</div>
</div>
<div class="item-separator my-0"></div>
<div
class="item item-sm px-0 @max-md:flex-col @max-md:items-start"
>
<div class="item-content">
<div class="item-title" id="settings-modal-width-title">
Content width
</div>
<p class="item-description">
Maximum width of the main column.
</p>
</div>
<div class="item-actions @max-md:w-full">
<div
role="radiogroup"
class="radio-segmented radio-segmented-sm @max-md:w-full"
aria-labelledby="settings-modal-width-title"
>
<label class="radio-segment"
><input
type="radio"
name="settings-modal-width"
checked=""
value="narrow"
/><span>Narrow</span></label
><label class="radio-segment"
><input
type="radio"
name="settings-modal-width"
value="medium"
/><span>Medium</span></label
><label class="radio-segment"
><input
type="radio"
name="settings-modal-width"
value="wide"
/><span>Wide</span></label
>
</div>
</div>
</div>
<div class="item-separator my-0"></div>
<div
class="item item-sm px-0 @max-md:flex-col @max-md:items-start"
>
<div class="item-content">
<div class="item-title" id="settings-modal-motion-title">
Motion
</div>
<p class="item-description">
Reduce animation in the interface.
</p>
</div>
<div class="item-actions @max-md:w-full">
<div
role="radiogroup"
class="radio-segmented radio-segmented-sm @max-md:w-full"
aria-labelledby="settings-modal-motion-title"
>
<label class="radio-segment"
><input
type="radio"
name="settings-modal-motion"
checked=""
value="system"
/><span>System</span></label
><label class="radio-segment"
><input
type="radio"
name="settings-modal-motion"
value="reduced"
/><span>Reduced</span></label
>
</div>
</div>
</div>
</div>
</fieldset>
<fieldset class="field-set">
<legend class="field-legend">Language and region</legend>
<div role="list" class="item-group gap-0">
<div class="item item-sm px-0">
<div class="item-content">
<div class="item-title" id="settings-modal-language-title">
Language
</div>
</div>
<div class="item-actions">
<button
type="button"
class="btn btn-ghost btn-sm"
id="settings-modal-language"
aria-labelledby="settings-modal-language-title settings-modal-language"
>
English<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="icon-end text-muted-foreground"
>
<path d="m6 9 6 6 6-6"></path>
</svg>
</button>
<div
class="dropdown"
data-sp-toggle="#settings-modal-language"
data-sp-placement="bottom-end"
>
<div class="dropdown-label">Language</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-language"
checked=""
value="en"
/>English
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-language"
value="sv"
/>Swedish
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-language"
value="de"
/>German
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-language"
value="fr"
/>French
</div>
</div>
</div>
</div>
<div class="item-separator my-0"></div>
<div class="item item-sm px-0">
<div class="item-content">
<div class="item-title" id="settings-modal-timezone-title">
Time zone
</div>
</div>
<div class="item-actions">
<button
type="button"
class="btn btn-ghost btn-sm"
id="settings-modal-timezone"
aria-labelledby="settings-modal-timezone-title settings-modal-timezone"
>
Stockholm<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="icon-end text-muted-foreground"
>
<path d="m6 9 6 6 6-6"></path>
</svg>
</button>
<div
class="dropdown"
data-sp-toggle="#settings-modal-timezone"
data-sp-placement="bottom-end"
>
<div class="dropdown-label">Time zone</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-timezone"
checked=""
value="stockholm"
/>Stockholm
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-timezone"
value="london"
/>London
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-timezone"
value="new-york"
/>New York
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-timezone"
value="tokyo"
/>Tokyo
</div>
</div>
</div>
</div>
<div class="item-separator my-0"></div>
<div class="item item-sm px-0">
<div class="item-content">
<div class="item-title" id="settings-modal-date-title">
Date format
</div>
</div>
<div class="item-actions">
<button
type="button"
class="btn btn-ghost btn-sm"
id="settings-modal-date"
aria-labelledby="settings-modal-date-title settings-modal-date"
>
2026-10-16<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="icon-end text-muted-foreground"
>
<path d="m6 9 6 6 6-6"></path>
</svg>
</button>
<div
class="dropdown"
data-sp-toggle="#settings-modal-date"
data-sp-placement="bottom-end"
>
<div class="dropdown-label">Date format</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-date"
checked=""
value="ymd"
/>2026-10-16
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-date"
value="dmy"
/>16/10/2026
</div>
<div class="dropdown-item dropdown-item-radio">
<input
type="radio"
name="settings-modal-date"
value="mdy"
/>10/16/2026
</div>
</div>
</div>
</div>
</div>
</fieldset>
<fieldset class="field-set">
<legend class="field-legend">Notifications</legend>
<div role="list" class="item-group gap-0">
<div class="item item-sm px-0">
<div class="item-content">
<div class="item-title" id="settings-modal-digest-title">
Email digest
</div>
<p class="item-description">
A summary of activity, sent every morning.
</p>
</div>
<div class="item-actions">
<input
type="checkbox"
role="switch"
class="switch"
id="settings-modal-digest"
aria-labelledby="settings-modal-digest-title"
checked=""
/>
</div>
</div>
<div class="item-separator my-0"></div>
<div class="item item-sm px-0">
<div class="item-content">
<div class="item-title" id="settings-modal-push-title">
Push notifications
</div>
<p class="item-description">
Get notified when a long task has finished.
</p>
</div>
<div class="item-actions">
<input
type="checkbox"
role="switch"
class="switch"
id="settings-modal-push"
aria-labelledby="settings-modal-push-title"
/>
</div>
</div>
<div class="item-separator my-0"></div>
<div class="item item-sm px-0">
<div class="item-content">
<div class="item-title" id="settings-modal-sounds-title">
Sounds
</div>
<p class="item-description">
Play a sound with each notification.
</p>
</div>
<div class="item-actions">
<input
type="checkbox"
role="switch"
class="switch"
id="settings-modal-sounds"
aria-labelledby="settings-modal-sounds-title"
/>
</div>
</div>
</div>
</fieldset>
</div>
</main>
</div>
</div>
</dialog>