Skip to content

Dev Setup

Get set up using Nebula in your app.

Installation

Start by making sure you have an npm token from the @kaluza-platform npm org.

Or if you prefer:

You'll also need to ensure the following peerDependencies are installed:

Theming

Nebula uses styled-components (opens in new window)  and it is necessary to provide a theme which you can import from @kaluza-platform/nebula.

This can be done using styled-component's <ThemeProvider> at the root of the app.

See Theming for more information.

OverlayProvider

Some Nebula components make use of React Aria (opens in new window) . The OverlayProvider context provider is required by some components to ensure proper support for screenreaders.

Using the components

CSS Reset

The design system components rely on global styles to provide a CSS reset (opens in new window) 

We export one of these which uses sensible defaults and can be found here: