WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Codpoe/shadcn-react

Repository files navigation

shadcn-react

A simple wrapper for shadcn/ui, just for my own convenience.

  • style: New York
  • icons: Lucide

Install

pnpm add shadcn-react

Usage

Import style.css in the App root:

import 'shadcn-react/style.css'

Then use the components:

import { Button } from 'shadcn-react'

export default function MyComponent() {
  return <Button>Hello world</Button>
}

Use the original shadcn-ui components:

import { Button } from 'shadcn-react/ui'

export default function MyComponent() {
  return <Button>Hello world</Button>
}

Use lucide icons:

import { RocketIcon } from 'shadcn-react/icons'

export default function MyComponent() {
  return <RocketIcon />
}

About

A React UI library inspired by shadcn/ui

Resources

Stars

Watchers

Forks

Packages

No packages published