Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Bottom Sheet

Preview

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/bottom-sheet

Import the shared styles once in your application.

TSUsage
import BottomSheet from '@/components/beui/layout/BottomSheet.vue'
import '@/components/beui/styles.css'

API Reference

v-model:open?
boolean
Defaultfalse
snapPoints?
(number | "auto")[]

Heights (0-1 = fraction of viewport, or "auto"). First entry is default.

Default[0.5, 0.92]
defaultSnap?
number
Default0
title?
string
Default—
description?
string
Default—
class?
string
Default—
dismissThreshold?
number

Min drag distance (px) past current snap to dismiss.

Default120
labels?
Partial<BottomSheetMessages>

Override any built-in string.

Default—

Updated