Ultra Lightweight
At under 1KB gzip, goober keeps your bundle lean and fast.
Fast styling, minimal overhead
A tiny, powerful CSS-in-JS library designed for modern frameworks. Goober gives you everything you need to style components without the overhead. Built for performance, simplicity, and developers who care about bundle size.
Less than 1KB. Framework agnostic. Production ready.
At under 1KB gzip, goober keeps your bundle lean and fast.
Works seamlessly with React, Preact, Vue, and more.
Styled components and hooks that feel natural and intuitive.
Built-in SSR support for fast, SEO-friendly applications.
No complex setup. Install and start styling immediately.
Automatically scoped CSS to avoid collisions and improve maintainability.
Write styles directly in your components with a minimal API that stays out of your way.
import { styled } from 'goober';
const Button = styled('button')`
background: #000;
color: #fff;
padding: 12px 18px;
border-radius: 6px;
`;
<Button>Click me</Button>
const Button = styled('button')`
background: ${props => props.primary ? '#0070f3' : '#111'};
color: white;
`;
Goober is one of the smallest CSS-in-JS libraries available, making it ideal for performance-focused applications. Faster loads, less JavaScript, and no unnecessary abstractions.
Goober integrates effortlessly into your existing stack. Whether you're using React, Preact, or another library, it adapts to your workflow without friction.
Install goober and start styling immediately. No configuration, no complexity.
npm install goober
import { setup } from 'goober';
import { h } from 'preact';
setup(h);
Goober is maintained by a passionate community of developers. योगदान, feedback, and ideas are always welcome.