Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-archer

> 前端框架
Open source

Draw arrows between React elements

1.3K stars0 likes1 views
WebsiteGitHub

About

Draw arrows between React elements

react-archer

Draw arrows between DOM elements in React

Documentation & live examples →

Installation

npm install react-archer --save or yarn add react-archer

Example

javascript
import { ArcherContainer, ArcherElement } from 'react-archer';

const boxStyle = { padding: '10px', border: '1px solid black' };

const App = () => (
  
    
      

    

    {/* ...layout omitted... */}

    
      

    

    
      

    

    
      

    
  
);

export default App;

Documentation

Full documentation lives on the website:

  • Getting started
  • Examples — live, interactive
  • API reference
  • Troubleshooting

Contributing

The library lives in src/. The example/ app is a Vite playground used for local development and end-to-end tests:

bash
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 tests

Commit & PR conventions

PR 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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptarrowarrowsdomdraw-arrows

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架