Skip to content
Hazine

Feedback and Status

3 of 41 shipped. How the interface reports state: messages, progress, loading, emptiness and failure. Ships the success, warning and info extension tokens.

01 / Alerts and callouts

0 of 6 shipped

Planned 6

  • Inline Severity Alert
  • Alert with Actions
  • Alert with Collapsible Detail
  • Field-level Message
  • Edit Conflict Alert
  • Docs Callout

02 / Toasts

1 of 5 shipped
  • toasts

    Toast that confirms a reversible action and offers Undo, with a thin bar and a seconds count for how long the undo stays open. Use it for archive, delete or move actions that are applied at once.

    How it differs. One inline action above a countdown it owns: the bar holds while pointer or focus is in the toast region, commit fires once on expiry or dismissal and never after an undo, which is confirmed in place.

    shadcn add @hazine/toast-undo-action

    Depends on button, sonner, lucide-react

Planned 4

  • Severity Toast
  • Progress Toast
  • Stacked Toast Queue
  • Message Toast with Inline Reply

03 / Banners

0 of 3 shipped

Planned 3

  • System Notice Banner
  • Impersonation Session Banner
  • Offline and Reconnecting Banner

04 / Progress indicators

0 of 6 shipped

Planned 6

  • Labeled Linear Progress
  • Circular Progress Ring
  • Segmented Step Progress
  • Multi-part Progress with Legend
  • Upload Progress Row
  • Indeterminate Progress with Status Text

05 / Skeletons and loaders

0 of 5 shipped

Planned 5

  • Shimmer Skeleton Block
  • Card Skeleton
  • Table Skeleton
  • Skeleton to Content Crossfade
  • Spinner with Label

06 / Empty states

1 of 6 shipped
  • empty states

    Base empty state with an icon in a muted tile, a heading, a short description and a slot for one action. The heading level is a prop so it fits the surrounding outline.

    How it differs. The neutral baseline with slots only (icon, title, description, actions) inside a dashed frame, and no structure tied to a cause.

    shadcn add @hazine/empty-state

    Depends on @hazine/heading

Planned 5

  • First-use Empty State
  • No Results with Reset
  • Permission Needed
  • Cleared Inbox
  • Empty State with Import Options
  • status badges and indicators

    Small pill that labels the state of a record in neutral, info, success, warning and destructive tones. Use it in tables and headers, always with a word and optionally an icon.

    How it differs. The baseline pill: a text label with an optional leading icon in soft, solid and outline appearances, with no dot, count or action.

    shadcn add @hazine/status-badge

    Depends on class-variance-authority

Planned 5

  • Status Dot with Label
  • Status Transition Menu
  • Status with Timestamp
  • Health Summary with Service Popover
  • Stage Badge

Planned 4

  • Inline Retry
  • Error Boundary Panel
  • Form Error Summary
  • Partial Failure List