qmetrics.net

polished

Lightweight JavaScript helpers for inline styles

Frameworks & PlatformsNo commits in 18+ monthsDesktop/CLI app

polished has had no code changes for over 18 months (last commit 1 year ago).

polished screenshot

Polished is a small JavaScript library of Sass-style functions and mixins for writing styles in JS. It targets CSS-in-JS workflows and keeps a consistent color palette across an app.

Overview

Polished supplies helper functions for authors who write styles as JavaScript objects rather than in a preprocessor. It brings color utilities, typography helpers, and related mixins in a functional style where color functions are curried so you can compose reusable helpers.

Modules are meant to be imported individually rather than pulling in the whole package, which helps bundlers such as webpack and Rollup tree-shake unused code. Documentation lives at polished.js.org, with examples using object spread for style objects.

The package ships TypeScript definitions and first-class Flow support. An optional Babel plugin can compile static function calls at build time to reduce runtime cost. Browser support includes evergreen browsers plus IE11.

Polished works with libraries that accept styles as JS objects, including styled-components, radium, aphrodite, glamor, glamorous, and jss. Compared with Sass, a functional API and curried color helpers are the main design difference.

Key features

  • Sass-style helpers for JS styles
  • Curried composable color functions
  • Per-module imports for tree shaking
  • TypeScript and Flow definitions
  • Optional Babel compile-time plugin
  • Works with major CSS-in-JS libraries
  • Documentation site with usage examples
  • Supports evergreen browsers and IE11

Use cases

  • CSS-in-JS styling with styled-components
  • Consistent color palettes in React apps
  • Migrating from Sass to inline styles
  • Shared typography and layout helpers
  • Small bundle-friendly style utilities

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT