Bottom Sheet
Slide a bare panel up from the bottom of the screen, with a drag handle and a backdrop, and fill it with anything you like.
Sheet and Select are built on it. Use Sheet when you want a padded panel with a title and footer. Use Bottom Sheet when you want to lay out the panel yourself.
Installation
Usage
[(open)]two-way binds a signal. Set it totrueto slide the panel up andfalseto slide it down.- A backdrop tap sets
openback tofalse. Taps inside the panel don't reach the backdrop. - The panel has rounded top corners, a border and the background color, but no padding. Your content starts right below the handle.
- The panel's bottom is padded by the safe area, so content stays clear of the home indicator.
- The sheet draws in an
<overlay>, so it covers the whole screen wherever it sits in your template. - When it opens, a screen reader moves into the panel and stays inside it until the sheet closes.
- Android's back button closes it.
- On Android, a second after the first sheet in your app is drawn, it draws itself once where it opens, unseen. It's in a backdrop faded almost out, for a few frames, taking no touches or focus. Android draws a sheet slowly the first time in a process, so its first opening would otherwise start with late frames. If any sheet has opened by then, that opening paid the cost, and the unseen draw is skipped.
- It keeps moving while your app works: Core Animation runs its slides on iOS, as it does a UIKit sheet's.
Drag to dismiss
The bar at the top is a drag handle. Only the handle responds to dragging, so scrolling content inside the panel still works.
- Dragging the handle down more than 100px and letting go closes the sheet.
- A shorter drag springs the panel back up.
- The backdrop lightens as the panel moves down.
- On web, the handle drags with a mouse too.
Detents
Detents are the heights a sheet rests at, as on iOS. A sheet fits its content by default. Give it more than one detent and the handle drags it between them:
- It opens at the first detent in the list.
- Dragged more than 50px toward another detent, it moves on to it. A shorter drag settles back.
- A tap on the handle moves it to the next detent, and from the tallest back to the shortest. Screen readers announce the handle as a button, so it's how their users resize the sheet.
- Dragged down from its shortest detent, it closes as before.
- At
mediumandlargethe panel has a height of its own, so aflex-1scroll view inside it takes the height that's left.
[(detent)] binds the detent it rests at. Set it to move an open sheet, or before opening to open at another detent:
It's undefined while the sheet is closed, so each open starts at the first detent unless you set one.
Glass
variant="glass" draws each platform's own sheet. On iOS 26 and later, that's Liquid Glass:
- Below full height it floats. The glass sheet is inset 8px from the screen's sides and bottom, so the page shows around it. Its corners are concentric with the screen's.
- At full height it turns opaque and meets the edges, as iOS 26 sheets do. Dragging between the two blends from one to the other.
- The backdrop dims less, as iOS dims behind a sheet.
- It can grow out of the button that presents it. Mark the button with
[uiSheetSource]="sheet". The glass sheet then grows out of it rather than sliding up, and shrinks back into it as it closes (see Sheet).
What each platform draws:
Each has its platform's grabber: iOS 26's wide one, iOS 15 to 25's short one, or Material's drag handle. Without variant, the sheet looks as it always has, on every platform.
Long content
The panel grows with its content and has no maximum height. For a long list, put a <scroll-view> with a fixed height inside, because a scroll view needs one to scroll.
Run code after it closes
closed emits once the slide-down animation has finished. It's a good place to navigate once the sheet has gone. You can also navigate straight from a tap inside the sheet, as from any tap handler.
API
UiBottomSheet
UiSheetSource
Selector: [uiSheetSource]. Put it on the button that presents the sheet, with the sheet as its value, and the glass sheet grows out of the button (see Sheet).
Accessibility
- When the sheet opens, a screen reader moves into the panel and can't leave it until the sheet closes.
- A sheet with more than one detent has a handle that screen readers read as "Sheet grabber", a button. Activating it moves the sheet to its next detent.
- Under Reduce Motion, the glass variant doesn't slide or animate between detents: it fades in and out with the backdrop, and moves between detents at once. A drag still follows the finger.
Related
- Dialogs and overlays: how overlays work and which one to use
- Sheet: a padded panel with a title and footer
- Select: a picker that opens in a bottom sheet
- Action Sheet: a list of actions from the bottom
- Glass: the Liquid Glass the glass variant draws with
