@empathy-labs Registry
This is a shadcn component registry with Tailwind 4.0 and custom design system for Empathy React/Next.js projects.
Installation
Quick Start
1. Initialize your project with shadcn/ui:
pnpx shadcn@latest init2. Add registry to your project's components.json file:
"registries": {
"@empathy-labs": "https://labs-registry.empathy.com/r/{name}.json"
}3. Add components from our registry:
pnpx shadcn@latest add @empathy-labs/color-picker4. (Optional) Add the custom Empathy theme to your project:
pnpx shadcn@latest add @empathy-labs/themeDesign System
This is the design system for the Empathy React/Next.js projects.
pnpx shadcn@latest add @empathy-labs/themeTypography
Color Palette
Custom Components
Copy to Clipboard
The copy to clipboard component is a custom component that allows you to copy text to the clipboard.
pnpx shadcn@latest add @empathy-labs/copy-to-clipboard<CopyToClipboard text="Hello, world!" />Color Picker
The color picker component is a custom component that allows you to select a color from a palette.
pnpx shadcn@latest add @empathy-labs/color-picker<ColorPicker color="plum" onChange={() => {}} />Player
The player component is a custom component that allows you to play an audio file.
pnpx shadcn@latest add @empathy-labs/player<Player url="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" />File Uploader
This file uploader component is a custom component that allows you to upload a file to a server.
pnpx shadcn@latest add @empathy-labs/file-uploader<Player url="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" />App Switcher
The app switcher component is a custom component that allows you to switch between labs apps.
pnpx shadcn@latest add @empathy-labs/app-switcher<AppSwitcher app="VideoLab" />