docs/components/chat-ai/PromptQueue

PromptQueue

Queued prompt list.

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

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
items *QueuedPrompt[]
onRemove(id: string) => void
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-bg-secondary
  • --sk-bg-tertiary
  • --sk-border
  • --sk-duration-fast
  • --sk-error
  • --sk-focus-offset
  • --sk-font-size-sm
  • --sk-font-size-xs
  • --sk-font-weight-bold
  • --sk-leading-tight
  • --sk-radius-lg
  • --sk-radius-sm
  • --sk-space-sm
  • --sk-space-xl
  • --sk-space-xs
  • --sk-text-muted
  • --sk-text-primary
  • --sk-text-secondary