New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-treeview-ui

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-treeview-ui

A lightweight, flexible, and accessible Treeview component for React

latest
npmnpm
Version
1.2.9
Version published
Weekly downloads
29
2800%
Maintainers
1
Weekly downloads
 
Created
Source

🌳 React Treeview Component

A lightweight, flexible, and accessible Treeview component for React.
Supports nested nodes, checkboxes with indeterminate state, icons, and customizable rendering.

✨ Features

  • Recursive rendering for unlimited nesting
  • Checkbox support with indeterminate state
  • Customizable icons and styling
  • TypeScript support out of the box

📦 Installation

npm install react-treeview-ui
# or
yarn add react-treeview-ui
PropTypeDefaultDescription
dataArray<NodeData>requiredTree data (see Data Structure).
valuestring[][]Selected node values.
onChange(value: string[]) => void-Callback fired when selection changes.
onlyReadbooleanfalseMakes the tree read-only.
withIconsbooleanfalseShow icons next to nodes.

🎨 Styles

This package ships with a bundled stylesheet. You need to import it manually in your app entry point:

import "react-treeview-ui/dist/index.css";

Keywords

react

FAQs

Package last updated on 22 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts