Getting Started
🛠️
This section is under development.
Installation
Install the component from your command line.
npm i @vladyoslav/drawer
Anatomy
import { Drawer } from '@vladyoslav/drawer'
export const MyComponent = () => (
<Drawer.Root>
<Drawer.Trigger />
<Drawer.Portal>
<Drawer.Overlay />
<Drawer.Content>
<Drawer.Title />
<Drawer.Description />
<Drawer.Close />
</Drawer.Content>
</Drawer.Portal>
</Drawer.Root>
)