docs/components/chat-ai/SessionSearch

SessionSearch

Session search and filter.

import { SessionSearch } 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
sessions *SessionData[]
onSelect *(result: SessionSearchResult) => void
open *boolean
onOpenChange *(open: boolean) => void
placeholderstring
emptyMessagestring
debounceMsnumber
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-subtle
  • --sk-bg-primary
  • --sk-bg-secondary
  • --sk-bg-tertiary
  • --sk-border
  • --sk-font-size-sm
  • --sk-font-size-xs
  • --sk-radius-lg
  • --sk-radius-sm
  • --sk-shadow-2xl
  • --sk-space-lg
  • --sk-space-md
  • --sk-space-px
  • --sk-space-sm
  • --sk-space-xs
  • --sk-text-muted
  • --sk-text-primary
  • --sk-z-modal