convez.ai
MCP ServerDesenvolvimento WebIntermediário
chakra-ui

Panda CSS MCP Server

chakra-ui/panda

Integração Panda CSS com Claude para styling type-safe e escalável

Ver no GitHub
Muito bomPluginScore · de 0 a 100

Servidor MCP que integra Panda CSS (solução de styling type-safe CSS-in-JS) com assistentes de IA Claude. Permite que modelos de linguagem acessem recursos de Panda para gerar e otimizar estilos em tempo de construção, com suporte completo a design tokens, recipes e variantes.

Instalação

$npx convez-ai chakra-ui/panda

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
6,3 mil
Forks
329
Acompanhando
13
Saúde
62%
Último commit
há 2 dias
Versão
@pandacss/webpack@2.5.0
Issues abertas
21
Contribuidores
175

Casos de uso

  • Gerar componentes estilizados com Panda a partir de descrições em linguagem natural
  • Auxiliar na configuração e otimização de design tokens e temas
  • Criar recipes e variantes de componentes com type-safety completo
  • Revisar e refatorar estilos existentes para melhor manutenibilidade

Veredito

MCP server bem posicionado para developers que usam Panda CSS, oferecendo integração nativa com Claude para acelerar desenvolvimento de componentes type-safe. Particularmente valioso em workflows de design tokens complexos e geração de código em escala.

README

A tradução para o português deste README ainda está na fila.

Write typesafe styles with Panda

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)


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

PackageDescription
cliCLI package installed by the end user
coreContains core features of Panda (utility, recipes, etc)
configContains functions for reading and merging the panda config
extractorContains code for fast AST parsing and scanning
generatorContains codegen artifacts (js, css, jsx)
parserContains code for parsing a source code
is-valid-propContains code for checking if a prop is a valid css prop
nodeContains the Node.js API of Panda's features
token-dictionaryContains code used to process tokens and semantic tokens
sharedContains 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 docsite lives in the monorepo.

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

Ver o original no GitHub

Bom para

Relacionados