Captions
Compositions
Core Primitives
Transitions
Typography
- Blur Reveal
- Staggered Fade Up
- Masked Slide Reveal
- Tracking In
- Inline Highlight
- Marker Highlight
- Shimmer Sweep
- Typewriter
- Text Fade Replace
- Slot Machine Roll
- Infinite Marquee
- Perspective Marquee
- Matrix Decode
- RGB Glitch Text
- Strikethrough Replace
- Blur Out Up
- Bottom Up Letters
- Top Down Letters
- Per Character Rise
- Soft Blur In
- Micro Scale Fade
- Scale Down Fade
- Focus Blur Resolve
- Spring Scale In
- Line by Line Slide
- Mask Reveal Up
- Short Slide Right
Customize
1
1
18
1
Installation
$ pnpm dlx shadcn@latest add @framecn/terminal-simulator
Usage
import { TerminalSimulator } from "@/components/framecn/terminal-simulator";<TerminalSimulator />API Reference
TerminalSimulator
| Prop | Type | Default |
|---|---|---|
lines | TerminalLine[] | DEFAULT_LINES |
prompt | string | "$" |
title | string | "~/projects/framecn" |
background | string | "#0a0a0a" |
chromeColor | string | "#1a1a1a" |
fontSize | number | 18 |
charsPerFrame | number | 1 |
chunkSize | number | 1 |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 200 |
className | string | - |
Notes
CLI typing simulation
Commands type out character-by-character with chunked log output. The terminal auto-scrolls as new content appears.