{"repo":"react-component/drawer","free":true,"listed":false,"github":"https://github.com/react-component/drawer","clone":"git clone https://github.com/react-component/drawer.git","description":"🚪 Accessible React drawer component with portal rendering, masks, nested push behavior, keyboard close handling, focus management, and optional resizable panels.","language":"TypeScript","stars":425,"topics":["drawer","rc-drawer","react","ant-design","antd","javascript","react-component"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"@rc-component/drawer Part of the Ant Design ecosystem. 🚪 Accessible React drawer component with portal rendering, masks, nested push behavior, keyboard close handling, focus management, and optional resizable panels. English 简体中文 Highlights Area Support ----------- ------------------------------------------------------ Placement Left, right, top, and bottom drawers Interaction Mask click, keyboard close, focus management Composition Nested drawers with push behavior Layout Fixed drawer size, resizable panels, custom containers Motion Configurable open and close transitions Install Usage Examples Run the local dumi site: Then open http://localhost:8000 . API Property Type Default Description ---------------------- -------------------------------------------------------------------------------------------------------- -------------------- ------------------------------------------------------------------------------- afterOpenChange (open: boolean) = void - Called after the open or close animation ends. autoFocus boolean true Whether to focus the drawer after it opens. children ReactNode - Drawer content. className string - Class name for the drawer panel. classNames { mask?: string; wrapper?: string; section?: string; dragger?: string } - Semantic class names for internal drawer elements. defaultSize number \\ string - Default size for uncontrolled resizable drawer. destroyOnHidden boolean false Unmount the drawer after it is fully closed. drawerRender (node: ReactNode) = Reac","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-component","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-component/drawer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}