An open API service indexing awesome lists of open source software.

https://github.com/vladyoslav/drawer

An unstyled draggable drawer component for React.
https://github.com/vladyoslav/drawer

dialog draggable drawer headless mobile modal react sheet unstyled

Last synced: about 1 year ago
JSON representation

An unstyled draggable drawer component for React.

Awesome Lists containing this project

README

          

# @vladyoslav/drawer

An unstyled draggable drawer component for React.

Based on [@radix-ui/react-dialog](https://www.radix-ui.com/primitives/docs/components/dialog) and inspired by Emil Kowalski's awesome [Vaul](https://vaul.emilkowal.ski/).

Demo: [vladyoslav-drawer.vercel.app](https://vladyoslav-drawer.vercel.app)

## Documentation

For full documentation, visit [vladyoslav-drawer.vercel.app/docs](https://vladyoslav-drawer.vercel.app/docs).

### Installation

Install the component from your command line.

```shell
npm i @vladyoslav/drawer
```

### Usage

Use the drawer in your app.

```jsx
import { Drawer } from '@vladyoslav/drawer'

export const MyComponent = () => (

Open Drawer


...


)
```

### API Reference

To see components props, visit the full [documentation](https://vladyoslav-drawer.vercel.app/docs).