---
title: "SW14001: Missing utilities slot"
description: "Your stylesheet does not place the generated utility CSS anywhere."
image: "https://stillwind.dev/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://stillwind.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# SW14001: Missing utilities slot

This error occurs when your stylesheet has no `@stillwind-slot utilities;`. The
slot marks where the compiler writes the CSS of the utilities that you use. The
default stylesheet contains it, so the error usually appears when a stylesheet
imports only some parts of Stillwind.

## Reported

```css
@import "stillwind/theme.css" layer(theme);
@import "stillwind/builtins.css";
```

```tsx
style("p-4");
```

> SW14001: generated utilities require an @stillwind-slot utilities; in the CSS entry graph

## Fixed

```css
@import "stillwind/theme.css" layer(theme);
@import "stillwind/utilities.css" layer(utilities);
@import "stillwind/builtins.css";
```

```tsx
style("p-4");
```

## How to fix

- Import `stillwind/utilities.css`, which contains the slot, as in the example.
- Or write `@stillwind-slot utilities;` where the utilities should go.
- If you do not need a custom selection, import `stillwind` instead.

Other slots that a feature needs are reported as [SW14002](/docs/errors/SW14002).

Source: https://stillwind.dev/docs/errors/SW14001/index.mdx
