{"repo":"react-component/tooltip","free":true,"listed":false,"github":"https://github.com/react-component/tooltip","clone":"git clone https://github.com/react-component/tooltip.git","description":"💡 Positioned React tooltip for hover, focus, click, and controlled popup flows.","language":"TypeScript","stars":949,"topics":["ant-design","antd","javascript","react","react-component"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"@rc-component/tooltip Part of the Ant Design ecosystem. 💡 Positioned React tooltip for hover, focus, click, and controlled popup flows. English 简体中文 Highlights - Supports hover, focus, click, and controlled visibility through one trigger layer. - Provides built-in placements, custom alignment, delays, arrows, and popup motion. - Exposes semantic classNames and styles slots for root, arrow, and container nodes. - Keeps accessibility wiring through generated tooltip ids and aria-describedby . Install Usage Online preview: https://tooltip.react-component.vercel.app/ Examples Run the local dumi site: Then open http://localhost:8000 . API Tooltip Name Type Default Description --------------------- ---------------------------------------------------- ------------------- ---------------------------------------------------------- afterVisibleChange (visible: boolean) = void - Called after popup visibility changes. align AlignType {} Extra popup alignment config. arrowContent React.ReactNode - Custom arrow content. builtinPlacements TriggerProps['builtinPlacements'] built-in placements Placement map passed to trigger. children React.ReactElement - Required trigger element. classNames Partial - Semantic class names for root, arrow, and container nodes. defaultVisible boolean - Initial uncontrolled visible state. destroyOnHidden boolean false Destroy popup DOM when hidden. disabled boolean false Temporarily hide tooltip while preserving visible state. fresh boolean - Keep popup content","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-component","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-component/tooltip/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."}