# Placeholder (`.z-placeholder`)

> Dashed empty-state box for content that is not yet available.

- **Kind:** css
- **Category:** content

## CSS Variables

| Variable | Default | Scope | Affects | Description |
| --- | --- | --- | --- | --- |
| `--z-placeholder-border-color` | `var(--z-border)` | `.z-placeholder` | `border` | Border base color, mixed with transparency using `--z-placeholder-border-color-o`. |
| `--z-placeholder-border-color-o` | `var(--z-border-o)` | `.z-placeholder` | `border` | Border opacity percentage used in the border mix. |
| `--z-placeholder-margin-bottom` | `1.25rem` | `.z-placeholder` | `margin-bottom` | Bottom margin of the placeholder. |
| `--z-placeholder-padding` | `2rem` | `.z-placeholder` | `padding` | Inner padding of the placeholder. |

## CSS Classes

| Class | Role | Applies to | Description |
| --- | --- | --- | --- |
| `.z-placeholder` | `root` | `.z-placeholder` | Root class of the placeholder box. |

## Notes

- Placeholder is a CSS layer: a dashed, centered box; put explanatory text or an action inside.

## Guides

- [Styling with cls and stl](https://next.0build.dev/docs/guides/styling.md)
- [Translating Components](https://next.0build.dev/docs/guides/i18n.md)
- [Icon Resolution](https://next.0build.dev/docs/guides/icons.md)
- [The data-source Convention](https://next.0build.dev/docs/guides/data-source.md)
- [Openers & Triggers](https://next.0build.dev/docs/guides/triggers.md)
- [Dialog Behavior](https://next.0build.dev/docs/guides/dialogs.md)
- [Utilities](https://next.0build.dev/docs/guides/utilities.md)
- [Runtime](https://next.0build.dev/docs/guides/runtime.md)

## Related

- [Spinner](https://next.0build.dev/docs/components/spinner.md)
