Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawer #396

Open
uttampun44 opened this issue Dec 2, 2024 · 0 comments
Open

Drawer #396

uttampun44 opened this issue Dec 2, 2024 · 0 comments

Comments

@uttampun44
Copy link

uttampun44 commented Dec 2, 2024

Feature Request: Customizable Drawer Component with Direction Support
Is your feature request related to a problem? Please describe.
Currently, there isn't a straightforward way to implement a customizable drawer component that supports different directions (left, right, top, bottom) with smooth transitions. Developers often need to create custom implementations for common use cases like a hamburger menu, which can be repetitive and time-consuming.

Supports multiple directions: The drawer can slide in from left, right, top, or bottom based on the developer's configuration.
Smooth transitions: Includes smooth and customizable transitions for an enhanced user experience.
Easy integration: Designed with props for toggling visibility and controlling direction, making it simple for developers to use.

type DrawerProps = {
isOpen: boolean;
direction?: "left" | "right" | "top" | "bottom";
onClose: () => void
children: React.ReactNode;
};

Drawer Content

;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant