RC

Rc Tree

rc-tree

tree ui component for react

Component Libraries
react
react-component
react-tree
tree
rc-tree
Component Libraries
javascript
npm
frontend
open source
Stars
1.3k
Weekly
0
Open issues
166
Bundle
~60 kB

Installation

npm install rc-tree

Code example

import { Button } from "rc-tree";

export function Example() {
  return (
    <div className="flex gap-2">
      <Button>Primary</Button>
      <Button variant="outline">Secondary</Button>
    </div>
  );
}

Pros & cons

Pros

  • Actively maintained by smith3816@gmail.com
  • 0 weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~60 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 166 open issues on GitHub

FAQs

Alternatives & similar libraries