About
Interactive terminal component with typing animation and localhost notification.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Terminal to your project and fits it to your theme.
Code
How Terminal is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Terminal } from "@/components/ui/terminal";
export default function TerminalDemo() {
return (
<main className="flex min-h-[60vh] items-center justify-center p-6">
<div className="w-full max-w-3xl">
<Terminal
command="npx shadcn@latest add 'https://eldoraui.site/r/terminal'"
steps={[
{ text: "~ Project name", bold: true },
{ text: " | terminal-demo" },
{ text: " | cd terminal-demo" },
{ text: "~ Installing UI components", bold: true },
{ text: " | ✓ eldoraui/terminal" },
]}
pulseInterval={100}
showLocalhost={true}
hostBarTitle="localhost:3000"
hostMessage="New App Created!"
/>
</div>
</main>
)
}








