Terminal
vanillasky/terminalFreeBlock
Developer or technical product where a CLI command, install command, log output, deploy/test flow, or status result communicates the workflow better than prose. Prefer when the input includes a command or install snippet.
See it running
Open the demo on vanillasky
vanillasky.ai/docs/components/terminalInstall it
npx shadcn@latest add https://vanillasky.ai/r/terminal.jsonSource
1/**2 * showcase-terminal — terminal window with typing animation.3 *4 * macOS-style terminal frame with traffic-light dots. Command types5 * out character by character, then output lines stagger in below.6 * All animation progress-driven. Cursor blinks via progress.7 *8 * The terminal frame itself lives in the TerminalOutput primitive9 * (src/lib/primitives/devices/TerminalOutput.tsx) — shared with10 * vibecoded scenes. It owns shrink-to-fit + ellipsis for long commands11 * and output lines so they never clip mid-token at the frame edge.12 */1314import React from "react";15import type { VariableField } from "../video-config";16import { parseList } from "../parse-list";17import type { SceneTemplateProps } from "./types";18import { resolveTokens } from "../theme";19import { TemplateText } from "./template-text";20import { TerminalOutput } from "../primitives/devices/TerminalOutput";21import { SceneBackground, mediaBackgroundDefaults, mediaBackgroundSchemaFields } from "./scene-background";2223export const showcaseTerminalSchema: Record<string, VariableField> = {24 texts: {25 type: "string",26 label: "Text",27 default: "Ship it.",28 required: true,29 description: "Title text shown on the scene",30 },31 command: {32 type: "string",33 label: "Command",34 default: "npx vanillasky create --trailer",35 required: true,36 description: "The command that gets typed out character by character",37 },38 output: {39 type: "string",40 label: "Output lines",41 default: "✓ Scenes composed,✓ Beat-synced to music,✓ Ready to export",42 description: "JSON array of output lines that appear after the command. Send as an array — terminal output frequently contains commas. Example: [\"✓ Built /api/auth/login.ts, /api/users/me.ts\", \"✓ 12 tests passed\", \"✓ Ready to deploy\"]",43 },44 promptPrefix: {45 type: "string",46 label: "Prompt",47 default: "$",48 description: "Prompt prefix character (e.g. $, >, →)",49 },50 ...mediaBackgroundSchemaFields,51 textColor: {52 type: "color",53 label: "Text color",54 default: "",55 description: "Override text color (leave empty for auto)",56 },57};5859export const showcaseTerminalDefaults: Record<string, unknown> = {60 texts: "Ship it.",61 command: "npx vanillasky create --trailer",62 output: "✓ Scenes composed,✓ Beat-synced to music,✓ Ready to export",63 promptPrefix: "$",64 ...mediaBackgroundDefaults,65 textColor: "",66};6768// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from vanillasky
All 33 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Bar ChartbarChart | vanillasky | Blocks | Free | 1 dep · 8 files | |
| Before AfterbeforeAfter | vanillasky | Blocks | Free | 1 dep · 7 files | |
| Big NumberbigNumber | vanillasky | Blocks | Free | 1 dep · 8 files | |
| Brand MessagebrandMessage | vanillasky | Blocks | Free | 1 dep · 6 files | |
| Card ListcardList | vanillasky | Blocks | Free | 1 dep · 8 files | |
| Chat MessengerchatMessenger | vanillasky | Blocks | Free | 1 dep · 6 files | |
| Chat WhatsappchatWhatsapp | vanillasky | Blocks | Free | 1 dep · 6 files | |
| Code EditorcodeEditor | vanillasky | Blocks | Free | 1 dep · 7 files |
