{"repo":"react-component/dialog","free":true,"listed":false,"github":"https://github.com/react-component/dialog","clone":"git clone https://github.com/react-component/dialog.git","description":"💬 A composable dialog component for React.","language":"TypeScript","stars":455,"topics":["ant-design","antd","javascript","react","react-component"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"@rc-component/dialog Part of the Ant Design ecosystem. 💬 A composable dialog component for React. English 简体中文 Highlights - Supports controlled visibility, mask, keyboard close, and focus restoration. - Allows custom title, footer, close icon, container, motion, and modal content rendering. - Provides semantic classNames and styles hooks for the dialog structure. - Ships compiled JavaScript, TypeScript definitions, and CSS assets. Install Usage Examples Run the local dumi site: Then open http://localhost:8000 . API Property Description Type Default --- --- --- --- afterClose Callback after close animation ends () = void - animation Dialog animation name string - className Additional dialog class name string - classNames Semantic class names { header?: string; body?: string; footer?: string; mask?: string; content?: string; wrapper?: string } - closable Whether to show close button, or close button props boolean \\ object true closeIcon Custom close icon React.ReactNode - destroyOnHidden Unmount children after dialog closes boolean false focusTriggerAfterClose Focus trigger element after close boolean true footer Dialog footer React.ReactNode - forceRender Render dialog before it is first shown boolean false getContainer Container where dialog is mounted () = HTMLElement - keyboard Whether pressing Esc closes the dialog boolean true mask Whether to show mask boolean true maskAnimation Mask animation name string - maskClosable Whether clicking mask closes the dialog boolean tru","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-component","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-component/dialog/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."}