Beautiful-Tree is a lightweight & flexible library to draw trees as SVG images.
Some of its hightlights:
- It is compatible with ESM, CJS, UMD and IIFE
- Very lightweight (3.9Kb in its minimised ESM form, and 4.2Kb in its UMD form)
- The generated trees can be styled with CSS
For now there is only a React variant, but we'll extend the support for other technologies such as Vue.
- For slow-paced discussions, debates, ideas, etc. that don't fit into specific issues or PRs, we have a discussions section.
- For more unstructured and "real time" conversations, we have a Discord space.
- How to Contribute
- How to create a React components dual library (ESM+CJS): It covers some of the technical decisions behind this library to offer CJS & ESM support at the same time.