Analysis updated 2026-05-18
Understand how an older CSS-in-JS library styled React components
Follow the linked migration guide to move a legacy glamorous codebase to Emotion
Reference the project's history when evaluating styled-components vs Emotion
Study glamorous's API only to maintain existing legacy code, not for new projects
| paypal/glamorous | keepfool/vue-tutorials | micromodal/micromodal | |
|---|---|---|---|
| Stars | 3,622 | 3,622 | 3,621 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Deprecated and unmaintained, do not use for new projects, see the Emotion migration guide.
Glamorous is a JavaScript library, originally created at PayPal, that lets developers write CSS styles directly inside their React component code rather than in separate stylesheet files. The idea is to keep styles close to the components they belong to, making it easier to track down where a visual change needs to happen. It was part of a category called CSS-in-JS, which became popular in the React community around 2017 and 2018. Important note: this project is officially deprecated and no longer maintained. The README prominently states that it has been abandoned, and the maintainers have pointed users toward a migration path to a different library called Emotion. Anyone discovering this project today should not build new things on top of it. The issue tracker has a dedicated thread explaining the situation and offering automated migration tooling. When it was active, glamorous worked by letting you create styled React components with plain JavaScript objects describing the visual properties. You could apply colors, spacing, fonts, and other CSS rules without writing a separate .css file. The library built on top of an earlier package called glamor, which handled the actual CSS injection into the browser. Glamorous added a React-friendly API on top of that foundation. The project attracted a community of related tools, including testing utilities, a React Native version, a VS Code extension, and an integration with Stylus for developers who preferred that syntax. There was also a companion website at glamorous.rocks that hosted tutorials, examples, and API documentation, though that documentation may no longer be maintained. With over 3,600 stars on GitHub and 67 contributors listed, glamorous had meaningful adoption during its active years. Its closest conceptual sibling was styled-components, which the README lists as direct inspiration. For anyone maintaining older code that uses glamorous, the migration guide linked in issue 419 is the recommended starting point.
A deprecated CSS-in-JS library for styling React components with JavaScript, originally from PayPal, users are pointed to Emotion instead.
Mainly JavaScript. The stack also includes JavaScript, React.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.