Skip to main content

Download

Installation, NPM packages and quick start template.

Download

Install​

Galaxy Design System packages are published as @galaxy-ds/* on npm. Tokens on this site and on Galaxy React Storybook are @galaxy-ds/tokens@3.0.1.

Tokens​

npm install @galaxy-ds/tokens@3.0.1

Import the LEAP web CSS variables in JavaScript:

import '@galaxy-ds/tokens/leap/web/tokens.css';

Or from CSS / Sass:

@import '@galaxy-ds/tokens/leap/web/tokens.css';

This exposes custom properties such as --color-primary-main, --color-secondary-main, and --font-h1-font-family.

Components​

npm install @galaxy-ds/core@3.0.2-beta.3 @galaxy-ds/icons@3.0.1-beta.1 @galaxy-ds/tokens@3.0.1

See the React component documentation for usage.

Icons​

The icon browser on this website is powered by @leapdev/gui-icons. @galaxy-ds/icons is the React icon package used with @galaxy-ds/core.

LEAP GUI (Bootstrap / Angular)​

Existing Bootstrap or Angular applications may still use @leapdev/gui-leap for that product's compiled stylesheet. This is not the Galaxy Design System token source of truth.

npm i @leapdev/gui-leap
"styles": ["@leapdev/gui-leap/dist/css/leap.css"]
<link rel="stylesheet" href="https://unpkg.com/@leapdev/gui-leap@latest/dist/css/leap.css" />