Draw arrows between React elements
Draw arrows between DOM elements in React
Documentation & live examples →
npm install react-archer --save or yarn add react-archer
import { ArcherContainer, ArcherElement } from 'react-archer';
const boxStyle = { padding: '10px', border: '1px solid black' };
const App = () => (
{/* ...layout omitted... */}
);
export default App;Full documentation lives on the website:
The library lives in src/. The example/ app is a Vite playground used for
local development and end-to-end tests:
yarn install
yarn start # run the example app at http://localhost:8080
yarn test # format, lint, typecheck and unit tests
yarn test:e2e # Cypress end-to-end testsPR titles must follow Conventional Commits
(e.g. feat: ..., fix: ..., chore: ..., docs: ...). PRs are squash-merged
using their title, so this title becomes the commit on master and feeds the
changelog. A CI check validates the PR title.
No open issues yet, or sync has not completed.