Code
In context
Install · Free Web Component
One file, no dependencies. Aurora preset, every other option included. Host it yourself so your visitors never load anything from our servers.
1. Install with one command — or download the file
2. Load it and use the element
3. React + TypeScript (optional)
The shadcn command adds a typed React wrapper for you. Using the file directly? Custom elements work in React as-is; for type checking add:
Pro · React + TypeScript Pro
One payment of $4.99, yours forever. Use it in unlimited personal and commercial projects; no resale.
- React component with TypeScript types and a
replay()ref - Sunset, Mint and Mono tints
- The vanilla Web Component with every tint, a demo page, README and license
Attributes & props
| Name | Type | Default | Description |
|---|---|---|---|
| text | string | '' | The text so far. Append to it and only the new words animate in; replace it and it starts over. |
| streaming | boolean | false | Shows the glowing bead: more is coming. |
| simulate | number (words/s) | 0 | Plays a fixed text by itself at this speed. In HTML the text can be the element’s content. |
| loop | boolean | false | With simulate: starts over after a pause. |
| theme | 'light' | 'dark' | 'light' | Ink colour the words cool to. |
| tint Pro | 'aurora' | 'sunset' | 'mint' | 'mono' | 'aurora' | Colours of arriving words and the bead. Free build ships Aurora only. |
It inherits font, size and line height from where you put it. Screen readers get the whole text as one label, not word by word. Text that is already there when it mounts appears without the entrance, so a restored chat does not replay. Reduced motion shows words at once with no blur. It uses no WebGL and no dependencies.
More components
- Plasma Orb
- Voice Wave
- Plush Buddy
- Gummy Agent
- Mercury Orb
- Prompt Input
- Voice Orb
- Alien Face
- Tide Slide
- Pearl Code
- Ink Sphere
- Frost Card
- Holo Card
- Lens Compare
- Pearl Dial
- Nova Rating
- Pearl Check
- Pearl Input
- Glass Toast
- Pearl Select
- Glass Sheet
- Pearl Accordion
- Glass Tip
- Pearl Calendar
- Glass Nav
- Pearl Tabs
- Glass Command
- Halo Avatar
- Pearl Steps
- Pearl Skeleton
- Pearl Table
- Pearl Chip
- Pearl Empty
- Roll Counter
- Glass Marquee
- Reveal Text
- Mesh Gradient
- Silk Waves
- Dot Field
- Glass Tabbar
- Glass Menu
- Pearl Pricing
- Glass Bento
- Quote Wall
- Glass Cta
- Magnet Button
- Beam Border
- Spotlight Card
- Scratch Reveal
- Glass Sidebar
- Pearl Pagination
- Pearl Breadcrumb
- Glass Dock
- Pearl Slider
- Pearl Segmented
- Liquid Metal Button
- Aurora Ring
- Glass Toggle
- Firefly Button
- Pearl Button
- Pearl Loader
- Prism Button
- Liquid Carousel
- Orbit Carousel
- Deck Carousel