Skip to content
caliper ui docs

Pro

Bottom sheet

A sheet that rises from the bottom with drag detents.

Pro
pnpm dlx shadcn@latest add @caliper/bottom-sheet

Harbour room 4

Sea view · sleeps 2 · €184 a night

Listed · 4 bookings this month

Installs components/ui/bottom-sheet.tsxDepends on none beyond ReactMotion shared motion tokens

When to use

Use it for

  • Mobile actions, filters and details that peek then expand.
  • Content that benefits from being half-open.

Skip it when

  • Desktop-only layouts; use a drawer or dialog.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/bottom-sheet

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { BottomSheet } from "@/components/ui/bottom-sheet"

The worked example comes with Pro

The 49-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

BottomSheet

component
PropTypeDefault
title *string—
descriptionstring—
children *ReactNode—
openboolean—
defaultOpenbooleanfalse
onOpenChange((open: boolean) => void)—
detentsreadonly number[][0.45, 0.92]
onDetentChange((index: number) => void)—
classNamestring—

Accessibility

It exposes dialog and status semantics, with aria-label, aria-modal, aria-labelledby and aria-expanded kept in step with state. Changes that matter are announced through a live region.

KeyBehaviour
↑Moves to the previous item or value.
EndJumps to the last item or the maximum.
↓Moves to the next item or value.
HomeJumps to the first item or the minimum.
EnterActivates the focused control.
SpaceActivates the focused control.

Motion

Transitions use the shared duration and easing tokens. Under prefers-reduced-motion those tokens collapse to instant and travel distances go to zero, so state changes still happen without movement.

All Sheet examples