@neynar/ui
Version:
React UI component library built on shadcn/ui and Tailwind CSS
40 lines (31 loc) • 882 B
Markdown
Provides visual separation and can be clicked to close the drawer (when dismissible is true). Automatically fades in/out with smooth animations.
## JSX Usage
```jsx
import { DrawerOverlay } from '@neynar/ui';
<DrawerOverlay
className="value"
/>
```
- **Type**: `string`
- **Required**: No
- **Description**: No description available
```tsx
// Default overlay with standard opacity
<DrawerOverlay />
```
```tsx
// Custom overlay with different opacity
<DrawerOverlay className="bg-black/30" />
```
```tsx
// Overlay with blur effect
<DrawerOverlay className="bg-black/20 backdrop-blur-sm" />
```
**Type**: component
DrawerOverlay - Semi-transparent backdrop behind the drawer Creates a semi-transparent overlay that covers the entire viewport behind the drawer content.