Kinetic UI
Back to Introduction
Layout & Data

Empty State

A component used to represent a state when there is no data to display.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add empty-state

A component used to represent a state when there is no data to display, such as a 404 page, an empty search result, or a missing collection.

Live Preview

Empty State

No Results Found

Try adjusting your search or filter to find what you're looking for.

Installation

npx kinetic-ui-cli@latest add empty-state

Usage Guide

1. Import the Component

Import the component into your React or Next.js page:

import { EmptyState } from "@/components/ui/empty-state";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { EmptyState } from "@/components/ui/empty-state";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <EmptyState
        icon{/* value */}
        title="example"
        description="example"
      />
    </div>
  );
}
Performance Notes
  • Uses CSS hardware acceleration via GPU transform-binds.
  • Damped interpolation minimizes paint-redraw flashes.
  • Tree-shakable import: only compiles elements requested.
Accessibility Notes
  • Full keyboard focus-ring navigation support (`Tab`/`Shift+Tab`).
  • ARIA roles mapped correctly for assistive screen readers.
  • Respects `prefers-reduced-motion` system toggles.