0.7.1 • Published 7 months ago

@shadow-panda/preset v0.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@shadow-panda/preset

Shadow Panda is created based on shadcn/ui, tailored specifically for developers utilizing Panda CSS as an alternative to Tailwind CSS.

This package is a preset for Panda CSS that allows you to use the same components as shadcn/ui, but with Panda CSS.

Documentation

Visit our documentation: https://shadow-panda.dev/

Install

Install the preset and a utility package (used by most components) by running:

npm i -D @shadow-panda/preset
npm i @shadow-panda/style-context

Add the preset to your panda.config.ts

import { defineConfig } from '@pandacss/dev'

export default defineConfig({
  // Required: Add the preset to your config.
  presets: ['@shadow-panda/preset'],

  // Optional: Enable CSS reset
  preflight: true,

  // Use React
  jsxFramework: 'react',

  // Optional: Emit artifacts to `node_modules` as a package.
  // The copy-paste component examples use `@shadow-panda/styled-system` as the import path of the generated files.
  // If you choose not to use this option, you should rewrite your component imports as needed.
  // @see https://panda-css.com/docs/references/config#emitpackage
  emitPackage: true,
  outdir: '@shadow-panda/styled-system',

  // Other configurations and overrides...
})

Compile Panda CSS, copy components and use it!

Acknowledgement

A huge thanks to the creators of shadcn/ui for providing an excellent set of components and documentation.
Most of the components and documentation were taken from shadcn/ui.

Also, a huge thanks to:

0.7.1

7 months ago

0.7.0

8 months ago

0.6.0

8 months ago

0.5.0

9 months ago

0.4.0

9 months ago

0.3.0

9 months ago

0.2.0

9 months ago

0.1.0

9 months ago

0.1.0-alpha.5

9 months ago

0.1.0-alpha.3

9 months ago

0.1.0-alpha.2

9 months ago

0.1.0-alpha.1

10 months ago

0.1.0-alpha.0

10 months ago

0.0.1-alpha.1

10 months ago