Search sites, categories, sections, or styles.
| Prop | Type | Description |
|---|---|---|
code | string | TypeScript/JavaScript sample with basic syntax coloring. First 12 lines shown; long lines clip. Default: TypeScript API response example. |
highlightText | string | Decorative badge text; does not locate or analyze code. Default: "any". Empty hides it; labels over six characters are shortened. |
appName | string | App title. Default: "ChatSpace". |
messagePlaceholder | string | Message placeholder. Default: "Message". |
label | string | Accessible replay label. Default: "Replay vulnerability scan illustration". |
autoPlay | boolean | Play once on mount. Default: false. |
scanDuration | number | Seconds per sweep, minimum 0.5. Default: 4.8. |
magnification | number | Lens zoom, clamped to 1–2. Default: 1.5. |
disabled | boolean | Stop motion and disable replay. Default: false. |
onScanComplete | () => void | Runs when the illustration finishes; no code is analyzed. |
className | string | Root button classes. Default maximum width: 32rem. |