COMPARISON · CSS FRAMEWORK

@linaria/core vs. goober

Side-by-side comparison · 9 metrics · 12 criteria

@linaria/core v8.4.0 · MIT
Weekly Downloads
1.1M
Stars
12.3K
Gzip Size
346 B
License
MIT
Last Updated
10mo ago
Open Issues
73
Forks
414
Unpacked Size
23.4 kB
Dependencies
1
goober v2.1.19 · MIT
Weekly Downloads
20.4M
Stars
3.3K
Gzip Size
1.3 kB
License
MIT
Last Updated
1y ago
Open Issues
73
Forks
127
Unpacked Size
113.5 kB
Dependencies
1
DOWNLOAD TRENDS

@linaria/core vs goober downloads · last 12 months

Download trends for @linaria/core and goober2 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.014.1M28.1M42.2M56.3MNov 2025FebMayAugOct 2026
@linaria/core
goober
FEATURE COMPARISON

Criteria · @linaria/core vs goober

License Fit
@linaria/core
MIT licensed
goober
MIT licensed
Adoption Signal
@linaria/core
Lower weekly downloads, with more GitHub stars and forks
goober
Higher weekly downloads, with fewer GitHub stars and forks
Framework Scope
@linaria/core
Primarily positioned for React
goober ✓
Topics cover React, Preact, and vanilla JavaScript
Bundle Footprint
@linaria/core ✓
Smaller listed gzip bundle at 346 B
goober
Larger listed gzip bundle at 1.3 kB
Styling API Context
@linaria/core
CSS-in-JS positioned around React component styling
goober ✓
Topics indicate styled, vanilla, DOM, React, and Preact contexts
DOM Styling Orientation
@linaria/core
Emphasizes extracted styles rather than runtime DOM styling
goober ✓
DOM styling is explicitly represented in its topic coverage
Integration Flexibility
@linaria/core
Most clearly aligned with React and extraction-based workflows
goober ✓
Topic coverage signals use across more rendering environments
Styling Execution Model
@linaria/core ✓
Zero-runtime CSS-in-JS with styles separated from browser execution
goober
Lightweight CSS-in-JS solution with runtime-oriented styling
Migration Considerations
@linaria/core
Moving to it may require adopting build-time extraction
goober
Moving to it may require accommodating runtime styling
Build Pipeline Dependence
@linaria/core
Relies on build-time extraction as a central design choice
goober
More directly oriented toward styling in the running application
Server-Side Rendering Fit
@linaria/core
Not specifically indicated in the supplied topics
goober ✓
SSR is explicitly included in its topic coverage
Unpacked Package Footprint
@linaria/core ✓
Smaller listed unpacked package at 23.4 kB
goober
Larger listed unpacked package at 113.5 kB
VERDICT

@linaria/core is aimed at teams that want CSS-in-JS authoring while keeping generated styling out of the browser’s runtime work. Its zero-runtime philosophy is the key distinction: it suits React projects where styles should be authored alongside components but resolved ahead of time, and where a build pipeline can handle that separation. The compact published bundle reinforces this focus, though the package data alone does not specify the build configuration required by a particular project.

Goober targets developers who want CSS-in-JS with a small runtime-oriented implementation and broad rendering contexts. Its description and topics point to use across React, Preact, vanilla JavaScript, DOM styling, and server-side rendering; that range makes it a natural fit when one styling approach must work across different application shapes. The trade-off is that its stated approach is not the same as @linaria/core’s zero-runtime model.

Architecturally, @linaria/core separates style authoring from browser execution: styles are intended to be extracted rather than handled as ordinary runtime CSS-in-JS. Goober’s positioning as a lightweight CSS-in-JS solution instead emphasizes applying styles through its runtime-oriented API. This changes the data flow developers should evaluate: @linaria/core puts more importance on the build stage, while goober foregrounds styling within the running application.

The packages also signal different extension and rendering priorities. @linaria/core is explicitly associated with React and CSS-in-JS, whereas goober’s supplied topics include server-side rendering, DOM, vanilla usage, React, and Preact, suggesting a wider set of intended integration contexts. That does not establish that either package has a particular plugin system or that every setup works without configuration, so teams should verify their exact rendering and build requirements before committing.

For developer experience, @linaria/core may be a better fit when a team is comfortable with build-time style extraction and wants the runtime boundary to be explicit. Goober’s small-solution framing and broader topic coverage may be easier to align with projects that want styling close to application execution across several environments. The supplied data does not give comparative TypeScript details, debugging behavior, or setup steps, so those should be checked against the APIs and configuration the project actually uses rather than inferred from download or star counts.

The clearest measurable technical difference is package footprint: @linaria/core is listed at 346 B gzip and 23.4 kB unpacked, while goober is 1.3 kB gzip and 113.5 kB unpacked. Those figures favor @linaria/core on size, but they do not alone predict total application performance or account for generated styles, build output, or project-specific integration. Goober’s description still positions it as a less-than-1KB CSS-in-JS solution, so compare the supplied gzip figure with the exact distribution and measurement context relevant to deployment.

Choose @linaria/core for a React-oriented codebase that can adopt build-time extraction and values keeping styling work out of the browser runtime; its smaller listed package footprint strengthens that case. Choose goober when runtime CSS-in-JS and the stated range of React, Preact, vanilla, DOM, and SSR contexts better match the application, especially if one approach must span those environments. The download figures favor goober, while the star and fork figures favor @linaria/core; neither popularity signal replaces checking API fit.

Migration is not simply a package swap because the central distinction is when and where styles are processed. A project moving from goober to @linaria/core should plan to align its build pipeline and styling declarations with extraction, while a move in the other direction should account for runtime styling and the desired rendering contexts. The supplied data does not describe compatibility or a migration utility, so estimate migration effort from the project’s existing styles rather than assuming direct interchangeability.

For SSR- or multi-environment work, goober’s explicit topic coverage makes it the more directly signposted option, while @linaria/core is more specifically positioned around React and zero-runtime CSS-in-JS. For teams prioritizing a smaller listed package and extraction-based styling, @linaria/core is the more aligned choice; for teams prioritizing a lightweight runtime approach across varied environments, goober is the more aligned choice. Treat those as architectural selection criteria, since the provided metrics do not establish behavior for every edge case.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

RELATED COMPARISONS 8
@emotion/react vs @linaria/core ★ 30.4K · 29.8M/wk @linaria/core vs bulma ★ 62.4K · 1.6M/wk @linaria/core vs styled-components ★ 53.4K · 16.0M/wk @linaria/core vs tailwindcss ★ 111.2K · 185.7M/wk @linaria/core vs @pandacss/dev ★ 18.6K · 1.9M/wk @linaria/core vs bootstrap ★ 187.5K · 9.3M/wk @linaria/core vs sass ★ 16.6K · 45.0M/wk @pandacss/dev vs goober ★ 9.5K · 21.3M/wk