# cristianbote/goober

🥜 goober, a less than 1KB 🎉  css-in-js alternative with a familiar API

Repository: https://github.com/cristianbote/goober
Canonical: https://ross.abutalabs.com/products/goober
Homepage: https://goober.rocks
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, css-in-js, css, preact, react, ssr, critical-css, styled, styled-components, goober, emotion, vanilla, dom
Last push: 2026-05-13T14:03:59+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 59, longevity 100
- inputs: {"age_days": 2771, "days_push": 112, "days_rel": 112, "gap_med": 112.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3275, forks 127 (observed 2026-08-28T04:07:53.355975+00:00)

## What it is
goober is a less-than-1KB CSS-in-JS library with a styled-components-like API for React, Preact, and vanilla DOM. It supports styled components, theming, keyframes, and server-side CSS extraction while keeping bundle size minimal.

## Use cases
- style react components with css-in-js without a large bundle
- replace styled-components or emotion to reduce javascript bundle size
- extract critical css during server-side rendering
- theme components with shared colors and sizes
- use the styled pattern in preact apps
- write scoped css with keyframes and hover states in javascript

## When to choose
- bundle size is critical and you want css-in-js under 1KB
- you already like the styled-components API but not its footprint
- you need SSR with easy css extraction
- you use react or preact and want a drop-in styled alternative

## When to avoid
- you need the full ecosystem and advanced features of styled-components or emotion
- your team prefers plain css, css modules, or utility-first frameworks
- you rely on rarely used css-in-js features not supported by goober

## Facets
- artifact type: library
- maturity: active
- function: css-framework, ui-components, ssr, templating
- domain: frontend, web-development, web-design
- platform: browser
- tags: css-in-js, styled-components, tiny-bundle, preact, react, theming, critical-css, nodejs, web-server

## Member repositories
- cristianbote/goober (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:53.355975+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:43:22.660749+00:00, confidence not recorded.
  - readme: https://github.com/cristianbote/goober (fetched 2026-08-28T04:07:53.355975+00:00, sha 8d9c9a852e57)
  - homepage: https://goober.rocks (fetched 2026-08-29T09:36:25.444058+00:00, sha af04ce666866)
- Data as of 2026-08-30T08:39:29.467469+00:00.
