Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pinceau

> 前端框架
Open source

️ Make your <script> lighter and your <style> smarter

690 stars0 likes4 views
WebsiteGitHub

About

️ Make your <script> lighter and your <style> smarter

Pinceau

Make your lighter and your smarter.

️ Try it online • Documentation

  • Typed Styling API inspired from the tools you already love

  • typescript
    const Component = $styled.a({ ...componentStyle })
    const className = styled({ ...scopedCss })
    css({ ...globalCss })
  • Multi-layers Design Tokens compatible theme configuration

  • ⚡ Plug & play support for any Vite-based framework

    Vue, React, Svelte, Nuxt, Astro

  • Comes with everything you need to build a robust design system

  • Smart output engine that uses static CSS or CSSOM when you need it

  • Style colocation

  • Style composition

  • Responsive variants API

  • Theming and local tokens

  • Runtime theme swapping

  • Fully modulable, let you disable every feature you do not need but needs no configuration to start

  • SSR-ready with optimized hydration and no JS/CSS style duplication

  • ✅ 300+ tests covering every core packages and integrations

  • VSCode extension for DX Sugar

Planned support for: Qwik, SolidJS, Preact, Lit, yours ?

Pinceau v1 is currently in ⚠️ beta, feel free to report any feedback you may have in issues.

⚙️ Install

Vue

bash
pnpm install @pinceau/vue
typescript
// vite.config.ts
import Pinceau from '@pinceau/vue/plugin'

export default defineConfig({
  plugins: [
    Pinceau(),
    ...yourPlugins
  ],
})

Example: examples/vite-vue/vite.config.ts

Svelte

bash
pnpm install @pinceau/svelte
typescript
// vite.config.ts
import Pinceau from '@pinceau/svelte/plugin'

export default defineConfig({
  plugins: [
    Pinceau(),
    ...yourPlugins
  ],
})

Example: examples/vite-svelte/vite.config.ts

React

bash
pnpm install @pinceau/react
typescript
// vite.config.ts
import Pinceau from '@pinceau/react/plugin'

export default defineConfig({
  plugins: [
    Pinceau(),
    ...yourPlugins
  ],
})

Example: examples/vite-react/vite.config.ts

Use our theme or create yours

Use our default theme, Pigments:

typescript
// vite.config.ts
export default defineConfig({
  plugins: [
    Pinceau({
      theme: {
        layers: ['@pinceau/pigments']
      }
    })
  ]
})

Or build your in theme.config.ts:

…

Example: examples/theme/theme.config.ts

Credits

This package takes a lot of inspiration from these amazing projects:

Stitches • vanilla-extract • unocss • style-dictionary

License

MIT License © 2022-PRESENT Yaël GUILLOUX


“All you need to paint is a few tools, a little instruction, and a vision in your mind.” • Bob Ross

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptcss-in-tsdesign-tokensdeveloper-experiencevue

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架