{"library":"rc-align","type":"library","category":null,"description":"`rc-align` is a React UI component designed for precise element alignment within a web page, acting as a React wrapper for the `dom-align` library. It enables dynamic positioning of a child element relative to a target, supporting various target types including other DOM elements or specific page coordinates. The current stable version is 4.0.15, with a v5 pre-release indicating upcoming architectural changes. The library maintains a moderate release cadence, addressing bugs and adding features periodically. Key differentiators include its robust underlying `dom-align` logic, support for realigning on window resize, and a focus on providing a declarative React interface for complex positioning scenarios. It ships with TypeScript types for improved developer experience and integrates seamlessly into React applications requiring dynamic UI positioning.","language":"javascript","status":"active","version":"4.0.15","tags":["javascript","react","react-component","react-align","align","typescript"],"install":[{"cmd":"npm install rc-align","imports":["import Align from 'rc-align';","const Align = require('rc-align');","import type { AlignProps } from 'rc-align';"]},{"cmd":"yarn add rc-align","imports":[]},{"cmd":"pnpm add rc-align","imports":[]}],"homepage":null,"github":"https://github.com/react-component/align","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rc-align","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/rc-align/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}