docs/components/display/StreamingText

StreamingText

Animated text that streams character by character.

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

#Playground

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

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
chunks *Accessor<string[]>Reactive array of text chunks to display.
format'markdown' | 'plain''markdown'Output format.
autoScrollbooleantrueAuto-scroll to bottom as content streams.
classstringAdditional CSS classes.

* 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-font-mono