Elements

@stacknet/elements is Geoff’s shared UI component library — the design system for chat interfaces across the StackNet ecosystem. It provides type-safe, composable components for building AI chat experiences.

Component Categories

Chat Components

Chain of Thought

Step-by-step reasoning visualization with states:
  • Pending: Waiting to execute
  • Active: Currently processing
  • Complete: Finished successfully
  • Error: Failed with details

Media Components

Thinking Indicators

Skeleton and shimmer loading states including StacknetThinking for model inference feedback.

Hooks

Registration

Elements are registered via barrel exports — index.ts re-exports everything from each sub-module. No dynamic registry needed; consumers import what they need directly from the package.

Package