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

@derricknuby/ui

v0.1.0

Published

CLI to add beautiful, reusable components from ui-derrick registry to your app

Readme

UI Derrick CLI

A command-line interface for easily adding beautiful, reusable components from the ui-derrick registry to your React project.

Installation

You can use the CLI directly with npx:

npx @derricknuby/ui@latest <command>

Or install it globally:

npm install -g @derricknuby/ui
ui-derrick <command>

Usage

List available components

To see all available components:

npx @derricknuby/ui@latest list

This will display a list of all available components along with descriptions and required dependencies.

Add a component

To add a specific component to your project:

npx @derricknuby/ui@latest add <component-name>

For example:

npx @derricknuby/ui@latest add organisation-unit-tree

This will:

  1. Check if shadcn/ui is initialized in your project
  2. Create the appropriate components/ui directory (if it doesn't exist)
  3. Download and add the component files
  4. Automatically install any required dependencies using your preferred package manager (npm, yarn, or pnpm)
  5. Install any required shadcn/ui components

The CLI automatically detects which package manager you're using based on lock files in your project.

Prerequisites

Before using the CLI, make sure you have shadcn/ui initialized in your project:

npx shadcn@latest init

Available Components

UI Derrick offers a variety of beautiful and reusable components, including:

  • OrganisationUnitTree: A powerful tree component for displaying hierarchical organization structures with search, selection, lazy loading, and filtering capabilities
  • And more components coming soon!

Component Features

OrganisationUnitTree:

  • Single/multi selection modes
  • Lazy loading support
  • Search and filtering
  • Level restrictions
  • Keyboard navigation
  • Selection statistics
  • Responsive design

For the complete list, run npx @derricknuby/ui@latest list.

Dependencies

Components are built on top of shadcn/ui and may require additional packages like lucide-react. When you add a component, the CLI will automatically install the required dependencies and shadcn/ui components.

Example Usage

After adding a component, you can use it in your project:

import { OrganizationTree } from "@/components/ui/organisation-unit-tree";

const data = [
  {
    id: "1",
    name: "Root Organization",
    children: [{ id: "2", name: "Department A", parentId: "1" }],
  },
];

export default function App() {
  return (
    <OrganizationTree
      data={data}
      onSelectionChange={(nodes, ids) => console.log("Selected:", ids)}
      showControls={true}
      showStats={true}
    />
  );
}

Documentation

Contributing

Contributions are welcome! Please feel free to submit a Pull Request to the ui-derrick repository.

License

MIT