EmptyState

A quiet feedback surface for empty collections, filtered results, and first-run states.

Preview#

No messages yet
Conversations you start will show up here.
import {
  EmptyState,
  EmptyStateContent,
  EmptyStateIcon,
  EmptyStateTitle,
} from "raft-ui";

<EmptyState>
  <EmptyStateContent>
    <EmptyStateIcon />
    <EmptyStateTitle />
  </EmptyStateContent>
</EmptyState>

Copy#

No results for "linear sync"
Try a different keyword or check the selected filters.
No messages yet
Conversations you start will show up here.

Actions#

No channels yet
Create your first channel to start organizing work.

Customize#

Drop files to import customers
CSV and TSV files can be mapped before anything is saved.

Composition#

No notifications right now

New mentions, assignments, and approvals will appear here.

API#WIP

PropTypeDefaultDescription
renderReactElement | (props, state) => ReactElementChange the root element, for example to section with an aria-labelledby hook.
...propsHTMLAttributes<HTMLDivElement>Native div attributes plus className.
PropTypeDefaultDescription
...propsHTMLAttributes<HTMLDivElement>Recommended wrapper for icon, title, and description. Keeps copy centered, bounded, and balanced.
PropTypeDefaultDescription
...propsHTMLAttributes<HTMLDivElement>Muted icon slot. The slot owns default SVG sizing per theme; override with className for custom media.
PropTypeDefaultDescription
...propsHTMLAttributes<HTMLDivElement>Muted sentence-case title. Use render to promote it to a real heading.
PropTypeDefaultDescription
...propsHTMLAttributes<HTMLDivElement>Optional supporting copy with a readable measure.
PropTypeDefaultDescription
...propsHTMLAttributes<HTMLDivElement>Optional action row. Add flex and gap classes when rendering more than one action.