payloadcmsdirectory

shadcn ui

by payloadcmsdirectory
Admin customization
v2
^2.0.0

Overview

Summary generated from the README

Integrates Shadcn UI components, built on Radix UI, into the Payload admin panel. It is added to the plugins array of the Payload config, where you can enable all components or select specific ones and extend the theme. Supports dark mode and TypeScript, and targets Payload 2.x.

Features

  • Includes Shadcn components such as button, dialog, table, tabs, select and toast
  • Enable all components or pick individual ones through plugin options
  • Theme customization with extendable colors
  • Dark mode support
  • Accessible components built on Radix UI

Use cases

  • Style the Payload admin panel with a consistent Shadcn component set
  • Reuse accessible Shadcn components in custom admin views

From the author

Shadcn UI components for PayloadCMS

Installation

npm i @payloadcmsdirectory/shadcn-ui

20

Stars

5

Forks

0

Open Issues

1 years ago

Last Updated

19

Weekly Downloads

v0.2.14

npm Version

568.1 KB

Unpacked Size

47

Dependencies

GitHub stars

20+1 since Sep 6

Show data
GitHub stars by day (UTC)
DateStars
Dec 5, 202620
Dec 4, 202620
Dec 3, 202620
Dec 2, 202620
Dec 1, 202620
Nov 30, 202620
Nov 29, 202620
Nov 28, 202620
Nov 27, 202620
Nov 26, 202620
Nov 25, 202620
Nov 24, 202620
Nov 23, 202620
Nov 22, 202620
Nov 21, 202620
Nov 20, 202620
Nov 19, 202620
Nov 18, 202620
Nov 17, 202620
Nov 16, 202620
Nov 15, 202620
Nov 14, 202620
Nov 13, 202620
Nov 12, 202620
Nov 11, 202620
Nov 10, 202620
Nov 9, 202620
Nov 8, 202620
Nov 7, 202620
Nov 6, 202620
Nov 5, 202620
Nov 4, 202620
Nov 3, 202620
Nov 2, 202620
Nov 1, 202620
Oct 31, 202620
Oct 30, 202620
Oct 29, 202620
Oct 28, 202620
Oct 27, 202620
Oct 26, 202620
Oct 25, 202620
Oct 24, 202620
Oct 23, 202620
Oct 22, 202620
Oct 21, 202620
Oct 20, 202620
Oct 19, 202620
Oct 18, 202620
Oct 17, 202620
Oct 16, 202620
Oct 15, 202620
Oct 14, 202620
Oct 13, 202620
Oct 12, 202620
Oct 11, 202620
Oct 10, 202620
Oct 9, 202620
Oct 8, 202620
Oct 7, 202620
Oct 6, 202620
Oct 5, 202620
Oct 4, 202620
Oct 3, 202620
Oct 2, 202620
Oct 1, 202620
Sep 30, 202620
Sep 29, 202620
Sep 28, 202620
Sep 27, 202620
Sep 26, 202620
Sep 25, 202619
Sep 24, 202619
Sep 23, 202619
Sep 22, 202619
Sep 21, 202619
Sep 20, 202619
Sep 19, 202619
Sep 18, 202619
Sep 17, 202619
Sep 16, 202619
Sep 15, 202619
Sep 14, 202619
Sep 13, 202619
Sep 12, 202619
Sep 11, 202619
Sep 10, 202619
Sep 9, 202619
Sep 8, 202619
Sep 7, 202619
Sep 6, 202619
npm weekly downloads

20−6 since Sep 6

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 5, 202620
Dec 4, 202610
Dec 3, 202610
Dec 2, 20264
Dec 1, 20269
Nov 30, 202611
Nov 29, 202615
Nov 28, 202614
Nov 27, 202617
Nov 26, 202622
Nov 25, 202624
Nov 24, 202619
Nov 23, 202619
Nov 22, 202616
Nov 21, 202616
Nov 20, 202615
Nov 19, 202610
Nov 18, 202610
Nov 17, 202610
Nov 16, 20269
Nov 15, 202612
Nov 14, 202614
Nov 13, 202612
Nov 12, 202614
Nov 11, 202615
Nov 10, 202621
Nov 9, 202620
Nov 8, 202624
Nov 7, 202623
Nov 6, 202625
Nov 5, 202622
Nov 4, 202619
Nov 3, 202614
Nov 2, 202617
Nov 1, 20268
Oct 31, 20267
Oct 30, 20265
Oct 29, 20265
Oct 28, 20265
Oct 27, 202614
Oct 26, 202612
Oct 25, 202614
Oct 24, 202614
Oct 23, 202613
Oct 22, 202618
Oct 21, 202619
Oct 20, 202611
Oct 19, 202617
Oct 18, 202617
Oct 17, 202618
Oct 16, 202618
Oct 15, 202613
Oct 14, 202617
Oct 13, 202622
Oct 12, 202619
Oct 11, 202618
Oct 10, 202617
Oct 9, 202617
Oct 8, 202623
Oct 7, 202618
Oct 6, 202611
Oct 5, 202612
Oct 4, 202625
Oct 3, 202627
Oct 2, 202628
Oct 1, 202623
Sep 30, 202631
Sep 29, 202631
Sep 28, 202630
Sep 27, 202616
Sep 26, 202621
Sep 25, 202623
Sep 24, 202625
Sep 23, 202622
Sep 22, 202627
Sep 21, 202629
Sep 20, 202631
Sep 19, 202626
Sep 18, 202623
Sep 17, 202628
Sep 16, 202627
Sep 15, 202624
Sep 14, 202623
Sep 13, 202627
Sep 12, 202637
Sep 11, 202643
Sep 10, 202636
Sep 9, 202634
Sep 8, 202634
Sep 7, 202629
Sep 6, 202626

Each point is npm's rolling 7-day download count.

Health Score

24/100Poor

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/955418910-root.svg)](https://payloaddirectory.dev/plugins/955418910-root)
HTML
<a href="https://payloaddirectory.dev/plugins/955418910-root"><img src="https://payloaddirectory.dev/badge/955418910-root.svg" alt="Payload Directory"></a>
Updated Mar 26, 2025Created Mar 26, 2025Published Mar 26, 2025

README

PayloadCMS Shadcn UI Plugin

PayloadCMS Shadcn UI Plugin PayloadCMS Shadcn UI Plugin

A plugin that integrates Shadcn UI components with PayloadCMS, providing a modern and accessible UI toolkit for your admin panel.

Features

  • 🎨 Modern UI components based on Radix UI
  • 🌗 Dark mode support
  • ♿ Accessible components
  • 🎯 Type-safe with TypeScript
  • 📱 Responsive design
  • 🔧 Highly customizable

Installation

npm install @payloadcmsdirectory/shadcn-ui
# or
yarn add @payloadcmsdirectory/shadcn-ui
# or
pnpm add @payloadcmsdirectory/shadcn-ui

Usage

Add the plugin to your Payload config:

import shadcnPlugin from "@payloadcmsdirectory/shadcn-ui";
import { buildConfig } from "payload/config";

export default buildConfig({
  plugins: [
    shadcnPlugin({
      // Plugin options
      enableAll: true, // Enable all components
    }),
  ],
});

Components

The plugin includes all the components from Shadcn UI, pre-configured for use with PayloadCMS:

  • Accordion
  • Alert Dialog
  • Avatar
  • Button
  • Calendar
  • Card
  • Checkbox
  • Collapsible
  • Command
  • Context Menu
  • Dialog
  • Dropdown Menu
  • Form
  • Hover Card
  • Input
  • Label
  • Menubar
  • Navigation Menu
  • Popover
  • Progress
  • Radio Group
  • ScrollArea
  • Select
  • Separator
  • Sheet
  • Slider
  • Switch
  • Table
  • Tabs
  • Textarea
  • Toast
  • Toggle
  • Tooltip

Configuration

You can customize which components to enable and their default styles:

shadcnPlugin({
  // Enable specific components
  components: {
    button: true,
    input: true,
    select: true,
    // ...
  },

  // Customize theme
  theme: {
    extend: {
      colors: {
        // Your custom colors
      },
    },
  },
});

Contributing

Please read our Contributing Guide before submitting a Pull Request to the project.

Support

License

MIT © PayloadCMS Directory

Similar plugins