⚡ ComponentForge

States

Feedback

Shared empty, error and loading primitives used across DataTable and ChartCard — consistent voice and semantics everywhere your app needs them too.

import { EmptyState, ErrorState, LoadingState } from "@componentforge/react";

Examples

Empty → Loading → Error cycle

No integrations yet

Connect a tool to start syncing automatically.

Accessibility

  • ErrorState renders role="alert"; LoadingState renders role="status" with aria-live="polite".
  • Skeletons and spinners are aria-hidden decoration.

API reference

Selected props — every component also spreads native HTML attributes.

PropTypeDefaultDescription
title / description / actionReactNodeComposition slots.
compactbooleanfalseDense layout for inline usage (tables, cards).
onRetry / retryLabel"Retry"ErrorState recovery affordance.