State catalog preview

State catalog

A gallery of screen/state screenshot cards grouped by screen, filterable by status and viewport, with a detail lightbox and a bug list beside it — the UI that ui-sweep writes into a Ref.

  • Group
    Review
  • Origin
    Inspired · Original (this library)
  • License
    MIT
  • Added
    Oct 27
npx shadcn@latest add @deank/state-catalog

The registry stays private. Install from the repo with a GitHub token — see the README.

Usage

import { StateCatalog } from "@/registry/blocks/state-catalog/state-catalog";

<StateCatalog shots={[/* … */]}>Label</StateCatalog>

Props

PropTypeDefaultDescription
title?string"State catalog"
subtitle?string
shotsStateShot[]
bugs?StateBug[][]
defaultStatuses?StateStatus[][]Status chips that start selected; empty = all
defaultViewports?StateViewport[][]Viewport chips that start selected; empty = all
className?string

When to use

Showing every state of a feature after a UI sweep: screenshots grouped by screen, filtered by status and viewport, with bugs next to the gallery.

When not to use

A single before/after cleanup (use design-tweak); a product image gallery without statuses or bugs; live capturing screenshots (that is ui-sweep itself).

Related

Design tweak · Empty state · Filter menu