Overlays

Drawer

Pull out a side menu or extra options, like opening a side drawer, handy for accessing additional functionalities.

Basic

A slide-in overlay for extra content or options, anchored to the screen edge for quick access! Originally coded by Devon Govett. Check out his tweet for more details. Want to improve it, like making the drawer's height adapt to the content? Feel free to drop a PR.

Installation

If you hit any issues, make sure you check out the installation guide here for more information.

Composed Components

Plug this component into the CLI, and it automatically loads all the included components. No need to add them individually.

The Drawer comes packed with a variety of components to make it stand out.

Button

Buttons be the real MVPs, man! They're all about gettin' stuff done, whether it’s slamming that form submit or hoppin' to another page.

Dialog

Dialog's a slick component used in other parts of your project that need dialog, like modal, sheet, color picker, and more.

Manual Installation

Sometimes, using the CLI is the way to go, so make sure you install the necessary dependencies for the components you want to use.

Anatomy

Drawer Controlled

You can control the drawer's state programmatically.

Without Notch

Disable the notch on the drawer by setting the withNotch prop to false.

Drawer Sticky

The drawer also supports long content. Try it out!

Nested Drawer

You can nest drawers inside each other. Try it out!