docs/components/chat-ai/LLMChatBox

LLMChatBox

LLM chat with tool rendering, approval, and cost tracking.

import { LLMChatBox } from '@ybouhjira/hyperkit';

Static examples

This component depends on app-level context (providers, services, or interactive setup) that does not fit the inline playground yet, so its examples are shown as static code.

#Props

PropTypeDefaultDescription
controller *LLMUIControllerReturn
titlestring
placeholderstring
classstring

* required prop.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-accent
  • --sk-accent-hover
  • --sk-bg-primary
  • --sk-bg-secondary
  • --sk-border
  • --sk-duration-bounce
  • --sk-duration-fast
  • --sk-error
  • --sk-font-mono
  • --sk-font-size-base
  • --sk-font-size-sm
  • --sk-radius-lg
  • --sk-radius-sm
  • --sk-space-md
  • --sk-space-px
  • --sk-space-sm
  • --sk-space-xs
  • --sk-success
  • --sk-text-muted
  • --sk-text-on-accent
  • --sk-text-primary
  • --sk-text-secondary