# Using Capra

## Installation

Install the Capra packages into your project:

```shell
pnpm install @capra/core @capra/domain @capra/theme
```

OR

```shell
npm install @capra/core @capra/domain @capra/theme
```

`@capra/theme` is always required. If you are *only* using `@capra/core`, you do not need to install `@capra/domain`.

Prior to importing components, include Capra's CSS in a root stylesheet:

```css
@import '@capra/theme/base.css';
@import '@capra/icons/styles.css';
@import '@capra/core/styles.css';
```

OR

```less
@import (inline) '@capra/theme/base.css';
@import (inline) '@capra/icons/styles.css';
@import (inline) '@capra/core/styles.css';
```

:::tip

`@capra/theme/base.css` contains design tokens, font-face rules, and baseline globals. If you only need fonts, import `@capra/theme/fonts.css`. If you only need design tokens, import `@capra/theme/styles.css`.

:::