0.0.1-beta.24 • Published 12 months ago
@hudoro/drawer v0.0.1-beta.24
Hudoro drawer
Hudoro drawer is a strict and customizable drawer component for web development projects, designed for simplicity and adherence to strict design guidelines.
Screenshots

Package instalation
Instal package using pnpm
pnpm add @hudoro/drawerInstal package using yarn
yarn add @hudoro/drawerInstal package using npm
npm i @hudoro/drawerUsage/Examples (you can combine using icon package hudoro)
import React, {useState} from "react";
import {Drawer} from "@hudoro/drawer";
import ReactDOM from "react-dom/client";
const App = () => {
const [isshow, setIsshow] = useState(false);
const toggleShow = () => setIsshow((prev) => !prev);
return (
<div style={{height: "100vh", background: "black"}}>
<button onClick={toggleShow}>Component test</button>
<Drawer isShow={isshow} position="right" onHide={toggleShow} blur={false}>
<div style={{minWidth: "30vw"}}>children</div>
</Drawer>
</div>
);
};
ReactDOM.createRoot(document.getElementById("app")!).render(<App />);Props @hudoro/drawer
Props that you can pass to <Drawer {...props} >
| Prop Name | Value | required |
|---|---|---|
| children | ReactNode | true |
| position | "top" / "right" / "bottom" / "left" | false |
| isShow | boolean | true |
| onHide | () => void | true |
| noBg | boolean | false |
| blur | boolean | false |
0.0.1-beta.21
12 months ago
0.0.1-beta.20
1 year ago
0.0.1-beta.23
12 months ago
0.0.1-beta.22
12 months ago
0.0.1-beta.24
12 months ago
0.0.1-beta.19
1 year ago
0.0.1-beta.7
2 years ago
0.0.1-beta.6
2 years ago
0.0.1-beta.9
2 years ago
0.0.1-beta.8
2 years ago
0.0.1-beta.10
2 years ago
0.0.1-beta.12
2 years ago
0.0.1-beta.11
2 years ago
0.0.1-beta.18
2 years ago
0.0.1-beta.5
2 years ago
0.0.1-beta.4
2 years ago
0.0.1-beta.14
2 years ago
0.0.1-beta.13
2 years ago
0.0.1-beta.16
2 years ago
0.0.1-beta.15
2 years ago
0.0.1-beta.3
2 years ago
0.0.1-beta.2
2 years ago
0.0.1-beta.1
2 years ago
0.0.1-beta.0
2 years ago