Getting Started
Installation
bash
pnpm add @drawerly/corebash
npm install @drawerly/corebash
yarn add @drawerly/coreUsage
Create a manager and open a drawer:
ts
import { createDrawerManager } from '@drawerly/core'
const manager = createDrawerManager()
manager.open({
drawerKey: 'example-drawer',
})The manager only tracks state. To render something, use a framework adapter, or subscribe to the manager and drive your own rendering layer. See Managing the Stack for the full API and Styling for the optional stylesheet.