Bootstrap Sheet Component Examples

Download Back To CSSScript.Com

A JavaScript library that brings iOS-style bottom sheets to Bootstrap 5 with swipe gestures, keyboard navigation, and full ARIA support.

Basic Sheet

A standard sheet with a header, body, and footer. Simple and effective.

Drag Handle

Includes a handle to visually indicate swipe-to-dismiss functionality.

Scrollable Content

Demonstrates how the sheet body scrolls when content overflows.

Static Backdrop

Prevents the sheet from closing on outside clicks, ideal for confirmations.

No Backdrop

The sheet appears without a backdrop, allowing interaction with the page.

Action Sheet

An iOS-style action sheet for a clean, minimal list of actions.

Location Finder

A real-time search and filter for a list of locations.

Multi-step Form

A wizard-like form for breaking down complex inputs into easy steps.

Events Handling

Monitor sheet lifecycle events in real-time with a simple log.

Event Log:
Open the sheet to see events...

GitHub User Search

Live search for GitHub users with API integration.

Shopping Cart

An interactive shopping cart with quantity controls and totals.

Accessibility

Focus management, keyboard navigation, and ARIA attributes.

Sheet title

This is a basic sheet example with header, body, and footer sections.

You can add any Bootstrap components or custom content here.

Swipe down to close

Try swiping down on the handle above to close this sheet.

The drag handle provides a visual affordance for touch gestures. When you drag down past the threshold, the sheet will smoothly animate closed.

You can also customize the swipe sensitivity using the swipeThreshold and velocityThreshold options.

Table of Contents

First heading

This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Second heading

This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Third heading

This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

Confirm deletion

Are you sure you want to delete your account?

This action cannot be undone. All your data, including:

will be permanently removed from our servers.

No backdrop

This sheet has no backdrop overlay, allowing you to interact with the page content behind it.

This can be useful for non-modal interactions where you want to display information without fully blocking the underlying content.

Select EU Country
Registration Form
Step 1 of 2: Personal Information
Step 2 of 2: Address
Events Demo

Open, close, or drag this sheet to see events being fired in real-time in the log above.

The following events are monitored:

GitHub User Search

Type a username to search

Shopping Cart
Accessibility Demo

This sheet demonstrates key accessibility features:

This is a focusable link