Box Extractor

screenshot of Box Extractor
vite

Box Extractor

Static code extraction. Zero-runtime CSS-in-TS `<Box />` -> became a part of Panda CSS

Overview:

The Panda CSS repository has been merged into the @pandacss/extractor package. This allows for zero-runtime CSS-in-TS extraction and provides compile-time optimizations through static code analysis. The extractor aims to enhance the developer experience by mimicking Chakra-UI's without adding runtime costs. It also offers smaller CSS/JS output similar to Tailwind CSS, with over 180k combinations but only extracting what is used in the app.

Features:

  • Static code extraction: Extracting CSS at compile-time without runtime costs.
  • Compile-time optimizations: Smaller CSS/JS output with up to 99% reduction through static analysis.
  • Enhanced Developer Experience: Low-level AST output with access to ts-morph Node objects for fine-grained control.
  • Over 180k combinations: Smart analyzer built-in to extract only the code used in the app.
vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.