Skip to content

Empty State

Feedback

A standardized component for displaying empty, error, or no-results states. Provides a consistent visual pattern with an icon, title, description, and optional action slot.

atlas-empty-state

Examples

With action

Explain why there is nothing to show and offer the next step.

No projects yet

Create your first project to see it here.

Sizes

size="sm" fits inside a card or a panel; lg suits a whole page. Project actions as content.

No notifications

You are all caught up.

Invite your team

Projects are better together.

No search results

Say what was searched and offer a way out: clearing the query brings the list back.

No cities found

Nothing matches “Berlin”.

API

Generated from the library source, so it always matches the code.

AtlasEmptyStateComponent atlas-empty-state

InputTypeDefaultDescription
icon string | undefinedundefined Icon name to display (e.g. 'atlas:inbox', 'atlas:search')
title string | undefinedundefined Title text
description string | undefinedundefined Description/subtitle text
size EmptyStateVariants['size']'md' Size variant
class string'' Additional CSS classes

Types

EmptyStateVariants

type EmptyStateVariants = VariantProps<typeof emptyStateVariants>