SoybeanUI is now VeanUIMigration guidePackages moved to @vean/aria and @vean/ui, and the docs moved to veanui.com.This site redirects in Nov 2026; the @soybeanjs packages are deprecated in Apr 2027.
Components
Back to catalog
Component detail entry
Overlay
@soybeanjs/ui
SDrawer

Drawer

Drawer belongs to the Overlay category. Start with demos and usage, then use the API tables to finish integration and styling decisions.

Use the quick jump panel to reach overview, usage, demos, and API first, then continue through the full page.

Quick jump

Related components

If you are composing interactions in the same family, these components usually pair well together.

Changelog

Version history is grouped by release so you can quickly see what changed for this component across published versions.

v0.50.0

2026-10-02

Compare release

Fix

settle controlled snap points and remove first-open position flash

Scope: drawerAuthors: soybeanjsView commited96b

Fix

repair gesture release velocity, pinch leak and uncontrolled swipe-area open

Scope: drawerAuthors: soybeanjsView commit135ae

Fix

re-measure the popup box when the viewport changes

Scope: drawerAuthors: soybeanjsView commit4f32c

Fix

keep the panel inside the viewport and its largest snap point

Scope: drawerAuthors: soybeanjsView commit0dc2a

Fix

wire the fullscreen state to the panel

Scope: drawerAuthors: soybeanjsView commitaa4b0

Fix

suspend snapping while the drawer is fullscreen

Scope: drawerAuthors: soybeanjsView commit716ac

Fix

freeze the drag gesture while the drawer is fullscreen

Scope: drawerAuthors: soybeanjsView commit336d1

Fix

keep the content height after leaving fullscreen

Scope: drawerAuthors: soybeanjsView commit44693

Refactor

rename BottomSheet→Drawer, split Sheet, add swipe-dismiss & side variants

Scope: drawerAuthors: soybeanjsView commitf017c

Refactor

port Base UI gesture model and fix six interaction bugs

Scope: drawerAuthors: soybeanjsView commit067c9

Docs

add Base UI model refactor plan and link from v0.50.0

Scope: drawerAuthors: soybeanjsView commit16acf

Docs

record the iOS verification of the toolbar fix

Scope: drawerAuthors: soybeanjsView commit1f9bc

Docs

add a form example covering the on-screen keyboard

Scope: drawerAuthors: soybeanjsView commitbbf70

Docs

sync the generated skill with the fullscreen contract

Scope: drawerAuthors: soybeanjsView commit32578

Chore

port Base UI drawer contracts to browser e2e and settle D4.3

Scope: drawerAuthors: soybeanjsView commit7bdea

Fix

wire the fullscreen state to the panel

Scope: drawerAuthors: soybeanjsView commitaa4b0

Fix

suspend snapping while the drawer is fullscreen

Scope: drawerAuthors: soybeanjsView commit716ac

Fix

freeze the drag gesture while the drawer is fullscreen

Scope: drawerAuthors: soybeanjsView commit336d1

Fix

keep the content height after leaving fullscreen

Scope: drawerAuthors: soybeanjsView commit44693

Docs

sync the generated skill with the fullscreen contract

Scope: drawerAuthors: soybeanjsView commit32578

Fix

settle controlled snap points and remove first-open position flash

Scope: drawerAuthors: soybeanjsView commited96b

Fix

repair gesture release velocity, pinch leak and uncontrolled swipe-area open

Scope: drawerAuthors: soybeanjsView commit135ae

Fix

re-measure the popup box when the viewport changes

Scope: drawerAuthors: soybeanjsView commit4f32c

Fix

keep the panel inside the viewport and its largest snap point

Scope: drawerAuthors: soybeanjsView commit0dc2a

Refactor

rename BottomSheet→Drawer, split Sheet, add swipe-dismiss & side variants

Scope: drawerAuthors: soybeanjsView commitf017c

Refactor

port Base UI gesture model and fix six interaction bugs

Scope: drawerAuthors: soybeanjsView commit067c9

Docs

add Base UI model refactor plan and link from v0.50.0

Scope: drawerAuthors: soybeanjsView commit16acf

Docs

record the iOS verification of the toolbar fix

Scope: drawerAuthors: soybeanjsView commit1f9bc

Docs

add a form example covering the on-screen keyboard

Scope: drawerAuthors: soybeanjsView commitbbf70

Chore

port Base UI drawer contracts to browser e2e and settle D4.3

Scope: drawerAuthors: soybeanjsView commit7bdea

v0.31.0

2026-08-31

Compare release

Refactor

wrap Dialog chrome as domain primitives

Scope: bottom-sheetAuthors: soybeanfe, cursoragentView commitddd66

v0.20.0

2026-05-12

Compare release

Fix

simplify variant merging logic and remove unused slot

Scope: bottom-sheetAuthors: soybeanjsView commite96e7

Fix

simplify variant assignment in computed property

Scope: drawerAuthors: soybeanjsView commitb55f5

v0.19.0

2026-05-11

Compare release

Fix

improve fadeFromIndex and snapPoints logic

Scope: bottom-sheetAuthors: soybeanfeView commit76d82

v0.15.4

2026-04-30

Compare release

Feature

Implement BottomSheet component

Scope: componentsAuthors: soybeanjs, CopilotKitView commitfb274

v0.0.10

2026-01-07

Compare release

Refactor

update drawer component structure and styling, replacing drawerContentVariants with drawerVariants for improved UI management

Scope: drawerAuthors: soybeanjsView commitcfb41

v0.0.2

2025-11-18

Compare release

Feature

add new bottom sheet component with size variants and default settings

Scope: bottom-sheetAuthors: soybeanjsView commitfa3f6

Feature

introduce new drawer component with side and scroll variants, update dialog examples to use pure button variant

Scope: drawerAuthors: soybeanjsView commitb2042

Feature

add scrollable functionality to drawer component and update related styles

Scope: drawerAuthors: soybeanjsView commite199f

Fix

update DialogClose class binding for closable state

Scope: drawerAuthors: soybeanjsView commit2958b

Optimization

update DialogClose slot name from closeIcon to close for consistency

Scope: drawerAuthors: soybeanjsView commitc72e3

Feature

add new bottom sheet component with size variants and default settings

Scope: bottom-sheetAuthors: soybeanjsView commitfa3f6

Feature

add default prop for background scaling

Scope: drawerAuthors: soybeanjsView commit1fe4b

Feature

introduce new drawer component with side and scroll variants, update dialog examples to use pure button variant

Scope: drawerAuthors: soybeanjsView commitb2042

Feature

add scrollable functionality to drawer component and update related styles

Scope: drawerAuthors: soybeanjsView commite199f

Fix

update DialogClose class binding for closable state

Scope: drawerAuthors: soybeanjsView commit2958b

Optimization

update DialogClose slot name from closeIcon to close for consistency

Scope: drawerAuthors: soybeanjsView commitc72e3

Feature

add default prop for background scaling

Scope: drawerAuthors: soybeanjsView commit1fe4b