# Style Dictionary

> Style once, use everywhere.

Source: https://talira.ai/catalog/style-dictionary-0a6x0xhc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [design / design tokens](https://talira.ai/categories/design/design-tokens), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^2]
- API: yes[^4]
- Plugins: yes[^5]
- Backed by: [Amazon](https://talira.ai/orgs/amazon.md), [Tokens Studio](https://talira.ai/orgs/tokens-studio.md)
- Funding: public company (NASDAQ:AMZN)[^6]

Style Dictionary is a build system for design tokens: you define colours, sizes, fonts and other values once in JSON, and it transforms and exports them to every platform, such as CSS variables, SCSS, Less and Stylus variables, Android resources, Jetpack Compose, iOS Swift and Objective-C, Flutter, JavaScript and [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md) modules, Sketch palettes and style documentation. It is forward-compatible with the Design Tokens Community Group format. Custom transforms and formats extend it, and it runs as a CLI, as a Node module, and since version 4 natively in browsers. Amazon started it, and Tokens Studio has co-maintained it since 2023.

## Links

- Website: https://styledictionary.com/
- GitHub: https://github.com/style-dictionary/style-dictionary
- Docs: https://styledictionary.com/getting-started/installation/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/style-dictionary>[^1]

## Problems it solves

- our brand colours are defined separately in CSS, iOS and Android and keep drifting apart
- export design tokens from one JSON file to CSS variables, Swift and Android XML
- generate SCSS variables and a TypeScript module from the same colour palette
- turn the tokens our designers export from Figma into code for every platform
- keep a design system's spacing, typography and colour values in one source of truth
- convert our token files to the W3C design tokens community group format
- add a custom output format for our own platform from shared design values
- support several brands and themes from one set of design tokens
- rebuild platform style files automatically in CI when a token changes
- transform colour values to the format each platform expects, like hex for web and UIColor for iOS

## Features

- forward-compatible with the Design Tokens Community Group format
- CSS variables, SCSS, Less and Stylus outputs
- Android resources and Jetpack Compose objects
- iOS Swift and Objective-C outputs
- Flutter Dart class output
- JavaScript, ES module and TypeScript declaration outputs
- Sketch palettes and JSON outputs
- custom transforms and formats
- CLI (style-dictionary build) and Node module
- runs natively in browsers

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.53 out of 1.
Signals: backing 0.55, extensibility 0.60.

- backed by Amazon and Tokens Studio
- funding: public company (NASDAQ:AMZN)
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Open Props](https://talira.ai/catalog/open-props-d10ema0p.md): Expertly crafted web design tokens

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://github.com/style-dictionary/style-dictionary/blob/main/LICENSE (checked 20 Nov 2026)
[^3]: https://styledictionary.com/ (checked 20 Nov 2026)
[^4]: https://styledictionary.com/getting-started/installation/ (checked 20 Nov 2026)
[^5]: https://github.com/style-dictionary/style-dictionary (checked 20 Nov 2026)
[^6]: https://data.sec.gov/submissions/CIK0001018724.json (checked 20 Nov 2026)
