GitHub Hot Board

GitHub Hot Board · 저장소 아카이브

chakra-ui/panda

Universal, Type-Safe, CSS-in-JS Framework for Design Systems (소개는 저장소 자체 문서에서 왔습니다.)

데이터 기준 October 25chakra-ui

최고 순위

#430

종합 · Rust 언어별

6.2K

누적 스타

328

포크 수

0

최근 30일 기록 일수

프로젝트 상태라이선스: MIT최근 push: October 24열린 이슈(PR 포함): 3

2026-10-25부터 수집. 미확인 = 아직 미수집

README에 뱃지를 붙여보세요 · chakra-ui/panda[![README에 뱃지를 붙여보세요](https://git.vaiox.xyz/api/badge/chakra-ui/panda.svg)](https://git.vaiox.xyz/ko/repo/chakra-ui/panda)
<a href="https://git.vaiox.xyz/ko/repo/chakra-ui/panda"><img src="https://git.vaiox.xyz/api/badge/chakra-ui/panda.svg" alt="README에 뱃지를 붙여보세요" height="20"></a>

프로젝트 문서

Write typesafe styles with Panda


Panda is a universal styling solution for the modern web —
build time, type safe, and scalable CSS-in-JS

NPM Downloads NPM Version X (formerly Twitter) Follow



Features

  • ⚡️ Write style objects or style props, extract them at build time
  • ✨ Modern CSS output — cascade layers @layer, css variables and more
  • 🦄 Works with most JavaScript frameworks
  • 🚀 Recipes and Variants - Just like Stitches™️ ✨
  • 🎨 High-level design tokens support for simultaneous themes
  • 💪 Type-safe styles and autocomplete (via codegen)


🐼 Get a taste of Panda. Try it out for yourself in  StackBlitz



🐼 Panda v2

Panda v2 rewrites the compiler in Rust on the Oxc engine. Upgrading from v1? Follow the upgrade guide.

Documentation

Visit our official documentation.

Install

The recommended way to install the latest version of Panda is by running the command below:

npm i -D @pandacss/dev

To scaffold the panda config and postcss

npx panda init -p

Setup and import the entry CSS file

@layer reset, base, tokens, recipes, utilities;
import 'path/to/entry.css'

Start the dev server of your project

npm run dev

Start using panda

import { css } from '../styled-system/css'
import { stack, vstack, hstack } from '../styled-system/patterns'

function Example() {
  return (
    <div>
      <div className={hstack({ gap: '30px', color: 'pink.300' })}>Box 1</div>
      <div className={css({ fontSize: 'lg', color: 'red.400' })}>Box 2</div>
    </div>
  )
}

Directory Structure

Package Description
cli CLI package installed by the end user
core Contains core features of Panda (utility, recipes, etc)
config Contains functions for reading and merging the panda config
extractor Contains code for fast AST parsing and scanning
generator Contains codegen artifacts (js, css, jsx)
parser Contains code for parsing a source code
is-valid-prop Contains code for checking if a prop is a valid css prop
node Contains the Node.js API of Panda's features
token-dictionary Contains code used to process tokens and semantic tokens
shared Contains shared TS functions

Contributing

Feel like contributing? That's awesome! We have a contributing guide to help guide you.

Want to help improve the docs?

Our docs live in website/content/docs.

If you're interested in contributing to the documentation, check out the contributing guide.

Support

Having trouble? Get help in the official Panda Discord.

Acknowledgement

The development of Panda was only possible due to the inspiration and ideas from these amazing projects.

License

MIT License © 2023-Present Segun Adebayo

현재 순위

  • 430

    종합 랭킹 · 역대 최강 · Rust

    6.2K 스타 · 328 fork · 총 스타 수

    종합 · Rust →

최근 30일 추이

최근 30일간 기록이 없습니다.

비슷한 프로젝트 · 공유 토픽

← 랭킹으로