npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@licuido-ui/ui_tree-view

v5.0.4

Published

The `TreeView` component is a versatile and customizable tree structure component built with React and Material-UI (MUI). It allows you to display hierarchical data in a tree-like structure, with support for checkboxes, custom icons, and various styling o

Readme

TreeView

The TreeView component is a versatile and customizable tree structure component built with React and Material-UI (MUI). It allows you to display hierarchical data in a tree-like structure, with support for checkboxes, custom icons, and various styling options

Author

Link

Story Book Link SignUp

PlayGround

Try it have a fun codeBox

Installation

npm i  @licuido-ui/ui_tree-view

Import component

import { TreeView } from '@licuido-ui/ui_tree-view';

Usage

import React from 'react';
import { TreeView } from '@licuido-ui/ui_tree-view';

const data = [
  {
    id: 'node-1',
    name: 'Parent Node 1',
    child: [
      {
        id: 'node-1-1',
        name: 'Child Node 1',
      },
      {
        id: 'node-1-2',
        name: 'Child Node 2',
      },
    ],
  },
  {
    id: 'node-2',
    name: 'Parent Node 2',
  },
];

function App() {
  return (
    <TreeView
      state={data}
      checkboxsection={true}
      defaultExpandIcon={<ExpandIcon />}
      defaultCollapseIcon={<CollapseIcon />}
    />
  );
}

export default App;

/>

Image

alt text

Props

| Prop | Type | Default | Description | | ------------------------- | --------------- | ----------------------------------------------- | ----------------------------------------------------------------------------- | | id | string | 'treeNode' | Unique Id for the node. | | nodes | object | {} | Data for the current node and its children. | | level | number | 0 | The level of nesting for the current node. | | defaultCollapseIcon | React.ReactNode | <ExpandIcon /> | Icon to represent collapsing a node. | | defaultExpandIcon | React.ReactNode | <CollapseIcon /> | Icon to represent expanding a node. | | checkboxWidth | string | '1.3rem' | Width of the checkbox element. | | checkboxHeight | string | '1.3rem' | Height of the checkbox element. | | checkboxBorderRadius | string | '4px' | Border radius of the checkbox element. | | disable | boolean | false | Boolean flag to disable interaction with the node. | | checkboxBgColor | string | '' | Background color for elements. | | rightSec | object | { breakpoints: { xs: 6, md: 6, sm: 4, lg: 6 } } | Configuration for the right section of the node. | | leftSec | object | { breakpoints: { xs: 6, md: 6, sm: 8, lg: 6 } } | Configuration for the left section of the node. | | permissionHeadingSx | object | {} | Styling for permission headings. | | checkboxsection | boolean | false | Boolean flag to include checkbox section. | | state | array | [] | State data for managing permissions. | | test | string | '' | A test flag indicating the type of node (e.g., 'parent', 'child'). | | parentIcon | React.ReactNode | <></> | Icon for a parent node. | | parentChildIcon | React.ReactNode | <></> | Icon for a parent-child node. | | labelStyle | object | {} | Styling for the node label. | | childrenLabelStyle | object | {} | Styling for children node labels. | | subChildLabelStyle | object | {} | Styling for sub-child node labels. | | handleDataChange | function | (updatedNodeSet) => undefined | Function to handle data changes. | | rootStyle | object | {} | Styling for the root element. | | entireGridContainerSx | object | {} | Styling for the entire grid container. | | leftSectionWrapperSx | object | {} | Styling for the left section wrapper. | | rightSecWrapperSx | object | {} | Styling for the right section wrapper. | | checkBoxStyle | object | {} | Styling for checkboxes. | | horizontalBorderSx | object | {} | Styling for horizontal borders. | | expandIconStyle | object | {} | Styling for expand icons. | | collapseIconStyle | object | {} | Divider is shown from a header bottom. | | dividerShown | boolean | {} | Styling for collapse icons. | | leftBorderStyle | boolean | false | Boolean flag indicating if the node is the last child. | | leftborderHalfLeft | boolean | false | Boolean flag indicating if the node is the last child. | | connectors | boolean | false | To show or hide connectors. | | lastIndex | boolean | false | Boolean flag indicating if the node is the last child. | | headerTextVariant | string | 'body2' | Variant for the header left text using a props name is headerTextVariant. | | headerLeftTextVariant | string | 'body2' | Variant for the header left text using a props name is headerLeftTextVariant. |