Loading preview
Blur Text
Text animationsText whose words rise out of a blur one after another.
A terminal window that types commands and prints their output when it scrolls into view.
npx shadcn@latest add @venusui/terminalRun this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/terminal.tsxThe code behind the preview above.
terminal-demo.tsx
import { Terminal } from "@/components/ui/terminal"
export default function TerminalDemo() {
return (
<Terminal
className="w-full max-w-xl"
lines={[
{ type: "command", text: "npx create-next-app@latest my-app" },
{ type: "success", text: "Created a new Next.js app in ./my-app" },
{ type: "command", text: "cd my-app && npm run dev" },
{ type: "output", text: "Ready on http://localhost:3000", delay: 600 },
]}
/>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
| lines | { type: "command" | "output" | "success"; text: string; delay?: number }[] | — | The session. Commands are typed; other lines appear. Required. |
| title | string | "Terminal" | Title in the window bar. |
| typingSpeed | number | 30 | Milliseconds per typed character. |
Only the props above, plus className.
lucide-react (the CLI installs it), React 19 and Tailwind CSS v4.delay on a line to pause before it, e.g. while something builds.Unknown registry "@venusui"npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.No components.json foundnpx shadcn@latest init in your project first.Text whose words rise out of a blur one after another.
Text filled with a slowly moving gradient: a subtle sheen by default, or your own colors.
Phone-style stacked notifications with frosted glass that fan out into a list on hover or click.