Skip to content

About

The Epic Games Design System

Topics

Resources

Security policy

Stars

66 stars

Watchers

0 watching

Forks

Repository files navigation

Epic Design System

The web component libraries of the Epic Design System.

This repository is a snapshot of the EDS v3 web packages, cut from the EDS v3.13.0 release. It carries the source, tests and build pipeline of these packages:

Package Description
@epicgames/eds-react React component library
@epicgames/eds-tokens Design tokens, emitted as JS, CSS, Sass and JSON
@epicgames/eds-icons SVG icon library backing @epicgames/eds-react
@epicgames/epic-typeface-inter Inter typeface
@epicgames/epic-typeface-recursive Recursive Mono typeface

Status

The Epic Design System web packages, @epicgames/eds-react, @epicgames/eds-tokens and @epicgames/eds-icons, and the font packages @epicgames/epic-typeface-inter and @epicgames/epic-typeface-recursive, are published to the public npm registry. This repository carries their source, cut from the Epic Design System v3.13.0 release. Epic Games develops the design system outside this repository and may update it here with new releases, with no commitment to a schedule. Component APIs, tokens and icons may change between releases.

Installing

The three @epicgames/eds-* packages are published to the public npm registry under the MIT license. For the component library:

npm install @epicgames/eds-react

@epicgames/eds-react expects react, react-dom and react-is (18 or 19) as peer dependencies. Tokens and icons are built into the package; icons are exported from @epicgames/eds-react/icons/*. Install @epicgames/eds-tokens or @epicgames/eds-icons only to use the tokens or SVGs on their own.

Using the packages

@epicgames/eds-react ships as ESM with TypeScript types. Components are styled with Vanilla Extract, so the theme is a set of CSS custom properties: apply a density theme class from @epicgames/eds-react to a root element and the component styles resolve against it.

See each package's README for its own exports and usage.

Building from source

Requires Node 24+ and pnpm 12.

pnpm install
pnpm build

pnpm build runs the packages in dependency order — tokens, then icons, then the component library, which consumes the generated token output. To run the test suite:

pnpm test

To use a local build instead of the published packages, consume the built output with a workspace dependency, pnpm pack, or your package manager's file protocol.

Fonts

The tokens name two font families, Inter and Recursive Mono. Install the packages that provide them and import each once in your app's entry file:

npm install @epicgames/epic-typeface-inter @epicgames/epic-typeface-recursive
import "@epicgames/epic-typeface-inter";
import "@epicgames/epic-typeface-recursive";

They carry the font files the design system is built with: Inter 3.19 and Recursive Mono 1.085, under the SIL Open Font License 1.1. Without them text falls back: body text to the browser's sans-serif font, code to its default font.

Contributing

Pull requests are not accepted. The design system is developed outside this repository, alongside a Figma component library, so a change made here has nowhere upstream to go.

License

The Epic Design System is released under the MIT License, except the font packages, which are under the SIL Open Font License 1.1 (see each package's LICENSE). See NOTICE for attribution and TRADEMARKS.md for use of the Epic Games and Epic Design System names and logos.

Community and support

GitHub Issues are disabled on this repository. Epic Games does not provide support for it.

See SECURITY.md for responsible disclosure of security related issues.

About

The Epic Games Design System

Topics

Resources

Security policy

Stars

66 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages