Bottom sheet
CoreA sheet that rests at a peek or full height and follows your finger.
pnpm dlx shadcn@latest add https://wui.alann.works/r/bottom-sheet.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
trigger | ReactNode | — |
open | boolean | — |
defaultOpen | boolean | — |
onOpenChange | (open: boolean) => void | — |
title* | string | required |
description | string | — |
detents | number[] | — |
initialDetent | number | — |
onDetentChange | (index: number) => void | — |
closeLabel | string | — |
className | string | — |
children* | ReactNode | required |