About
A scrollable monospace log panel that prints console-style log, warn and error lines with colored level labels, for build logs and dev-tool output panes.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Console Output to your project and fits it to your theme.
Code
How Console Output is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ConsoleOutput } from "@/components/ui/console-output";
export default function ConsoleOutputDemo() {
return (
<div className="flex w-full max-w-md items-center justify-center p-6">
<ConsoleOutput
lines={[
{ text: "ready on :3000" },
{ text: "compiled client and server successfully" },
{ level: "info", text: "using cached build artifacts" },
{ level: "warn", text: "deprecated API: fs.existsSync" },
{ level: "error", text: "fetch failed: ECONNREFUSED" },
]}
/>
</div>
);
}







