Side panel drawers that slide in from any edge — with backdrop blur, focus trap, and smooth animations.
<div class="sui-sheet-backdrop" id="mySheet" role="dialog" aria-modal="true" aria-label="Default Sheet">
<div class="sui-sheet sui-sheet-right">
<div class="sui-sheet-header">
<h3>Sheet Title</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p>This is a default right-side sheet. It slides in from the right edge of the screen with a blurred backdrop.</p>
<p>Sheets are great for navigation menus, settings panels, detail views, and forms that don't need to interrupt the main content flow.</p>
</div>
<div class="sui-sheet-footer">
<button class="sui-btn sui-btn-sm" onclick="SoftUI.sheet('#mySheet').close()">Cancel</button>
<button class="sui-btn sui-btn-primary sui-btn-sm">Save</button>
</div>
</div>
</div>
<script>
SoftUI.sheet('#mySheet').open();
SoftUI.sheet('#mySheet').close();
// Also accepts an element: SoftUI.sheet(document.getElementById('mySheet'))
// Closing (Escape, backdrop, X, close()) returns focus to the opener.
</script>
<div class="sui-sheet-backdrop" id="navSheet" role="dialog" aria-modal="true" aria-label="Left Sheet">
<div class="sui-sheet sui-sheet-left">
<div class="sui-sheet-header">
<h3>Navigation</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body" style="padding-top:8px;">
<nav class="sui-list-group" aria-label="Main">
<a href="#" class="sui-list-group-item">Dashboard</a>
<a href="#" class="sui-list-group-item">Analytics</a>
<a href="#" class="sui-list-group-item">Customers</a>
<a href="#" class="sui-list-group-item">Settings</a>
<a href="#" class="sui-list-group-item">Help</a>
</nav>
</div>
</div>
</div><!-- Top sheet -->
<div class="sui-sheet-backdrop" id="topSheet" role="dialog" aria-modal="true" aria-label="Top Sheet">
<div class="sui-sheet sui-sheet-top sui-sheet-sm">
<div class="sui-sheet-header">
<h3>Announcement</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p>This sheet slides down from the top. Great for announcements, notification panels, or search interfaces.</p>
</div>
</div>
</div>
<!-- Bottom sheet -->
<div class="sui-sheet-backdrop" id="bottomSheet" role="dialog" aria-modal="true" aria-label="Bottom Sheet">
<div class="sui-sheet sui-sheet-bottom sui-sheet-sm">
<div class="sui-sheet-header">
<h3>Quick Actions</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<div style="display:flex;gap:10px;flex-wrap:wrap;">
<button class="sui-btn sui-btn-primary sui-btn-sm">Share</button>
<button class="sui-btn sui-btn-success sui-btn-sm">Download</button>
<button class="sui-btn sui-btn-info sui-btn-sm">Print</button>
<button class="sui-btn sui-btn-danger sui-btn-sm">Delete</button>
</div>
</div>
</div>
</div><!-- Small (280px) -->
<div class="sui-sheet-backdrop" id="smSheet" role="dialog" aria-modal="true" aria-label="Small Sheet">
<div class="sui-sheet sui-sheet-right sui-sheet-sm">
<div class="sui-sheet-header">
<h3>Small Sheet</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p>This is a small (280px) right-side sheet.</p>
</div>
<div class="sui-sheet-footer">
<button class="sui-btn sui-btn-sm" onclick="SoftUI.sheet('#smSheet').close()">Close</button>
</div>
</div>
</div>
<!-- Default (320px) -->
<div class="sui-sheet-backdrop" id="defaultSheet" role="dialog" aria-modal="true" aria-label="Default Sheet">
<div class="sui-sheet sui-sheet-right">
<div class="sui-sheet-header">
<h3>Sheet Title</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p>This is a default right-side sheet. It slides in from the right edge of the screen with a blurred backdrop.</p>
<p>Sheets are great for navigation menus, settings panels, detail views, and forms that don't need to interrupt the main content flow.</p>
</div>
<div class="sui-sheet-footer">
<button class="sui-btn sui-btn-sm" onclick="SoftUI.sheet('#defaultSheet').close()">Cancel</button>
<button class="sui-btn sui-btn-primary sui-btn-sm">Save</button>
</div>
</div>
</div>
<!-- Large (480px) -->
<div class="sui-sheet-backdrop" id="lgSheet" role="dialog" aria-modal="true" aria-label="Large Sheet">
<div class="sui-sheet sui-sheet-right sui-sheet-lg">
<div class="sui-sheet-header">
<h3>Large Sheet</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p>This is a large (480px) right-side sheet. Great for forms, detail views, or complex content.</p>
</div>
<div class="sui-sheet-footer">
<button class="sui-btn sui-btn-sm" onclick="SoftUI.sheet('#lgSheet').close()">Cancel</button>
<button class="sui-btn sui-btn-primary sui-btn-sm">Save Changes</button>
</div>
</div>
</div>
<!-- Full width -->
<div class="sui-sheet-backdrop" id="fullSheet" role="dialog" aria-modal="true" aria-label="Full Sheet">
<div class="sui-sheet sui-sheet-right sui-sheet-full">
<div class="sui-sheet-header">
<h3>Full Sheet</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p>This sheet covers the full width of the screen.</p>
</div>
<div class="sui-sheet-footer">
<button class="sui-btn sui-btn-sm" onclick="SoftUI.sheet('#fullSheet').close()">Close</button>
</div>
</div>
</div><div class="sui-sheet-backdrop" id="editSheet" role="dialog" aria-modal="true" aria-label="Edit Profile">
<div class="sui-sheet sui-sheet-right sui-sheet-lg">
<div class="sui-sheet-header">
<h3>Edit Profile</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<div class="sui-form-group" style="margin-bottom:16px;">
<label class="sui-label">Full Name</label>
<input type="text" class="sui-input" placeholder="John Doe">
</div>
<div class="sui-form-group" style="margin-bottom:16px;">
<label class="sui-label">Email</label>
<input type="email" class="sui-input" placeholder="john@example.com">
</div>
<div class="sui-form-group" style="margin-bottom:16px;">
<label class="sui-label">Bio</label>
<textarea class="sui-input sui-textarea" rows="4" placeholder="Tell us about yourself..."></textarea>
</div>
<label class="sui-checkbox"><input type="checkbox" checked><span class="sui-check-mark"></span>Make profile public</label>
</div>
<div class="sui-sheet-footer">
<button class="sui-btn sui-btn-sm" onclick="SoftUI.sheet('#editSheet').close()">Cancel</button>
<button class="sui-btn sui-btn-primary sui-btn-sm">Update Profile</button>
</div>
</div>
</div><!-- Add sui-sheet-static to the backdrop -->
<div class="sui-sheet-backdrop sui-sheet-static" id="staticSheet" role="dialog" aria-modal="true" aria-label="Static Sheet">
<div class="sui-sheet sui-sheet-right">
<div class="sui-sheet-header">
<h3>Static Backdrop</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p>Clicking outside this sheet won't close it. The sheet will shake to indicate it requires explicit action. Pressing Escape shakes it too. Use the close button to dismiss.</p>
</div>
<div class="sui-sheet-footer">
<button class="sui-btn sui-btn-sm" onclick="SoftUI.sheet('#staticSheet').close()">Close</button>
</div>
</div>
</div>Add sui-drawer for a swipe-to-dismiss panel with optional data-snap heights (% of viewport).
<!-- Basic Drawer -->
<div class="sui-sheet-backdrop sui-drawer" id="myDrawer" role="dialog" aria-modal="true" aria-label="Drawer">
<div class="sui-sheet sui-sheet-bottom">
<div class="sui-drawer-handle"></div>
<div class="sui-sheet-header">
<h3>Drawer</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p style="margin-bottom:16px;">This is a bottom drawer. Drag the handle down to dismiss it, or click outside.</p>
<div class="sui-form-group" style="margin-bottom:12px;">
<label class="sui-label">Quick Note</label>
<textarea class="sui-input sui-textarea" rows="3" placeholder="Write something..."></textarea>
</div>
<button class="sui-btn sui-btn-primary sui-btn-block">Save</button>
</div>
</div>
</div>
<!-- With snap points (25%, 50%, 85% of viewport) -->
<div class="sui-sheet-backdrop sui-drawer" id="snapDrawer" data-snap="25,50,85" role="dialog" aria-modal="true" aria-label="Snap Points">
<div class="sui-sheet sui-sheet-bottom">
<div class="sui-drawer-handle"></div>
<div class="sui-sheet-header">
<h3>Snap Points</h3>
<button class="sui-sheet-close" aria-label="Close"></button>
</div>
<div class="sui-sheet-body">
<p style="margin-bottom:16px;">Drag the handle to snap to 25%, 50%, or 85% of the viewport height. Drag below 25% to dismiss.</p>
<div class="sui-alert sui-alert-info" style="margin-bottom:12px;">Try dragging up and down — it snaps to the nearest point.</div>
<ul style="color:var(--sui-text-muted);font-size:14px;padding-inline-start:20px;">
<li style="margin-bottom:8px;">25% — Peek view</li>
<li style="margin-bottom:8px;">50% — Half screen</li>
<li>85% — Full content</li>
</ul>
</div>
</div>
</div>
<script>
SoftUI.sheet('#myDrawer').open();
SoftUI.sheet('#myDrawer').close();
</script>This sheet covers the full width of the screen.
This is a bottom drawer. Drag the handle down to dismiss it, or click outside.
Drag the handle to snap to 25%, 50%, or 85% of the viewport height. Drag below 25% to dismiss.
This is a neumorphic modal dialog. It features backdrop blur, smooth animations, and focus trap. Press Escape or click outside to close.
Your session will expire in 5 minutes. Would you like to stay signed in?
This action cannot be undone. This will permanently delete the item and remove all associated data.
This modal takes up the entire viewport. Useful for immersive content, editors, or media viewers.
Press Escape or click the close button to dismiss.
By accessing and using this service, you accept and agree to be bound by the terms and provision of this agreement. In addition, when using these particular services, you shall be subject to any posted guidelines or rules applicable to such services. Any participation in this service will constitute acceptance of this agreement.
Permission is granted to temporarily download one copy of the materials on this website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not modify or copy the materials, use the materials for any commercial purpose, attempt to reverse engineer any software, or remove any copyright notations.
The materials on this website are provided on an 'as is' basis. We make no warranties, expressed or implied, and hereby disclaim and negate all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property.
In no event shall this company or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials, even if we have been notified orally or in writing of the possibility of such damage.
The materials appearing on this website could include technical, typographical, or photographic errors. We do not warrant that any of the materials on its website are accurate, complete or current. We may make changes to the materials contained on its website at any time without notice.
We have not reviewed all of the sites linked to this website and are not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement. Use of any such linked web site is at the user's own risk.
We may revise these terms of service for this website at any time without notice. By using this website you are agreeing to be bound by the then current version of these terms of service. Any changes will be posted on this page with an updated revision date.
These terms and conditions are governed by and construed in accordance with applicable laws and you irrevocably submit to the exclusive jurisdiction of the courts in that location. If any provision of these terms shall be unlawful, void, or unenforceable, then that provision shall be deemed severable and shall not affect the validity of the remaining provisions.
Clicking outside this modal won't close it. Instead, the modal will shake to indicate it requires explicit action. Pressing Escape shakes it too — use the close button or an action to dismiss.
This modal has no backdrop blur. The background is visible but dimmed.
A subtle 3px backdrop blur. Content behind is slightly softened.
A heavy 12px backdrop blur. Background is barely recognizable.
Maximum 20px blur. Background is fully frosted.
This is a default right-side sheet. It slides in from the right edge of the screen with a blurred backdrop.
Sheets are great for navigation menus, settings panels, detail views, and forms that don't need to interrupt the main content flow.
This sheet slides down from the top. Great for announcements, notification panels, or search interfaces.
This is a small (280px) right-side sheet.
This is a large (480px) right-side sheet. Great for forms, detail views, or complex content.
Clicking outside this sheet won't close it. The sheet will shake to indicate it requires explicit action. Pressing Escape shakes it too. Use the close button to dismiss.