Skip to content

PikaCSSAtomic CSS-in-JS Engine

Write styles in JS objects. Ship zero-runtime atomic CSS.

PikaCSS LogoPikaCSS Logo

Show Me the Code ​

Write styles with plain CSS property names, get atomic CSS at build time:

ts
const className = pika({
	color: 'red',
	fontSize: '16px',
})
css
@layer utilities {
  .pk-a {
    color: red;
  }
  .pk-b {
    font-size: 16px;
  }
}

Ready to try it? Get started or open the playground β€” no install needed.

Coming from another tool? See how PikaCSS compares to UnoCSS, Tailwind CSS, Panda CSS, and vanilla-extract.