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

@deriv-com/quill-shadcn-cli

v0.0.14

Published

CLI tool for setting up Deriv Quill shadcn/ui components

Readme

@deriv-com/quill-shadcn-cli

A simple CLI tool for setting up Deriv Quill shadcn/ui components in your React projects.

Installation

npm install -g @deriv-com/quill-shadcn-cli

Quick Start

# Complete setup (installs all components + config)
quill-shadcn install

# Update to latest version
quill-shadcn update

Commands

quill-shadcn install

Complete setup that installs all Deriv Quill components and configuration.

quill-shadcn install [options]

Options:
  -f, --framework <framework>  Framework to use (react, next, vite) (default: "react")
  -d, --dir <directory>        Directory to install in (default: ".")
  --skip-deps                  Skip installing dependencies
  --skip-config                Skip configuration setup

What it does:

  • Detects your project framework (React, Next.js, Vite)
  • Creates necessary directories (src/components/ui, src/lib, src/styles)
  • Installs required dependencies
  • Sets up configuration files (Tailwind, PostCSS, components.json)
  • Copies all 43 component templates
  • Sets up global CSS with Deriv design tokens

quill-shadcn update

Update all components to the latest version.

quill-shadcn update [options]

Options:
  -d, --dir <directory>  Project directory (default: ".")

What it does:

  • Updates the @deriv-com/quill-shadcnui-templates package
  • Updates all existing component files
  • Updates configuration files (Tailwind, PostCSS, etc.)
  • Preserves your custom modifications

What You Get

All 43 Components:

  • button, card, input, badge, alert
  • dialog, dropdown-menu, form, label
  • select, textarea, checkbox, radio-group
  • switch, slider, progress, avatar
  • skeleton, table, tabs, accordion
  • And many more...

Complete Configuration:

  • Tailwind CSS - Complete configuration with Deriv design tokens
  • PostCSS - Processing setup
  • Global CSS - All design variables and tokens
  • Components.json - shadcn/ui configuration
  • Utils - Component utility functions

Framework Support

The CLI automatically detects and supports:

  • React - Standard React applications
  • Next.js - Next.js applications with App Router
  • Vite - Vite-based React applications

Project Structure

After running quill-shadcn install, your project will have:

src/
├── components/
│   └── ui/           # Component files
├── lib/
│   └── utils.ts      # Utility functions
└── styles/
    └── globals.css   # Global styles with Deriv design tokens

tailwind.config.js    # Tailwind configuration
postcss.config.js     # PostCSS configuration
components.json       # shadcn/ui configuration

Usage in Your Code

import { Button } from './components/ui/button';
import { Card, CardContent, CardHeader, CardTitle } from './components/ui/card';
import { Input } from './components/ui/input';
import './styles/globals.css';

function App() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Welcome to Deriv Quill</CardTitle>
      </CardHeader>
      <CardContent>
        <Input placeholder="Enter your name" />
        <Button>Submit</Button>
      </CardContent>
    </Card>
  );
}

Updating Components

When you make changes to your components in the Deriv Quill package, consumers can easily update:

# Simple update (overwrites all components)
quill-shadcn update

# That's it! Simple and clean.

Design Tokens

All components use Deriv's Figma design tokens for consistent styling:

  • Colors: Primary, secondary, accent, destructive, muted
  • Typography: Font families, sizes, weights, line heights
  • Spacing: Consistent spacing scale
  • Borders: Radius and border styles
  • Shadows: Elevation and depth

Troubleshooting

Component not found

Make sure you're running the command from your project root directory.

Framework not detected

The CLI will default to React if it can't detect your framework. You can specify it manually:

quill-shadcn install --framework next

Update issues

If you have issues updating, try:

quill-shadcn update --force

Contributing

This CLI is part of the Deriv Quill component library. For issues and contributions, please visit the main repository.

License

MIT