animui
ComponentsBlocksDocsPackageTry the demo
Introduction
Installation
Theming
Motion
AI guide
Changelog
Metrics dashboard
KPI drilldown
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Choropleth explorer
Connected scatter
Market terminal
Budget variance
Small multiples
Line replay
AI chat
AI composer
Agent run
AI side panel
SidebarPro4
Page header
Command palette
Notification center
Empty states
Search resultsPro
Login and sign up5
OTP input
Multi-step formPro
Settings page
Settings command
Security settings
Billing overview
Usage billing
Cancel flow
Team members
Invite people
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Environment variables
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Invoice studio
Wallet card
Product listing
Product detail
Inbox triage
Support conversation
Support widget
Help centerNew
File upload
Media playerPro
Week calendar
Availability picker
Project board
Release readiness
Kanban boardNew
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrain
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new8 new
BlocksEmpty states

Empty states

Four empty states in one illustration whose shapes morph between scenes as you switch tabs.

npm install https://animui.stracture.net/__local/package.tgz
Live block · sample data

No results for “Q3 roadmap”

Two filters are on: owner is Emma Collins and status is archived.

When to use

  • A reference for no results, offline, inbox zero, and 404 moments with one shared illustration style.
  • Extracting one scene as a richer empty state for a key screen.

When not to use

  • Use empty-state for a simple empty state with an icon, text, and action.
  • Use onboarding-illustration for first-run screens that teach the product.
  • Use skeleton while content is still loading.

Installation

Install animui once, then import any component or block from its typed package entry.

animui · 250 components and blocks

React 19 and React DOM 19 are required. The package includes Free and Pro entries, styles and TypeScript declarations.

npm install https://animui.stracture.net/__local/package.tgz

Load the stylesheet once at your app root, then use the typed component import:

import 'animui/styles.css';
import { EmptyStates } from 'animui/empty-states';

Read the Code tab for the implementation files and the API reference below for required props.

Download animui 0.3.0 · Agent guide

Usage

Use this for no results, offline, inbox zero and missing page moments. Wire each action to your real filter reset, retry, refresh or search; the preview simulates them locally.

example.tsx
1import { EmptyStates } from "animui/empty-states";2 3export default function EmptyGallery() {4  return (5    <main>6      <EmptyStates />7    </main>8  );9}

API reference

EmptyStates

Four empty states (no results, offline, inbox zero, missing page) in one illustration that morphs between scenes via tabs, each with a simulated action. Scene copy is in empty-states.tsx and shapes in empty-states-art.ts.

No props.

Keyboard interactions

LeftorRight
Move between scene tabs (wraps around).
HomeorEnd
Jump to the first or last scene.

Accessibility

  • Scenes use role="tablist", "tab" and "tabpanel" with aria-selected and aria-controls.
  • The illustration is a role="img" labelled by the scene; a polite live region reports action results.

Motion

  • Each shape morphs its path to the next scene with slight per-shape delays, and the tab indicator glides with a layoutId.
  • Reduced motion swaps scenes with a short fade and no morph.

Responsive behavior

  • The block is a container query root; from a 560px container the title steps up a size.
  • Pointer parallax only turns on for hover-capable fine pointers, so touch devices get a still illustration.

Performance

  • Shape morphs run on a small requestAnimationFrame loop that stops as soon as every shape settles.
  • A ResizeObserver springs the copy height when scenes change.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as a reference for no results, offline, inbox zero or 404 moments; usually you extract one scene rather than ship the tabbed gallery.
  • Actions (clear filters, retry, refresh, search) are simulated; wire them to your real handlers.
  • For a single simple empty state, prefer the empty-state component.
/components/blocks/empty-states/markdown

The full library index for assistants is at /llms.txt.

Related

Empty stateComponentA useful next step when there is nothing to show yet.TabsComponentSwitch between related content in the same context.
PreviousJourney flowNextSecurity settings
animui · 84 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown