In a Vite app, install once, import the component in your JavaScript entry, then place its element beside your existing UI.
import 'pixel.md/indicator';
<pixel-agent-status state="thinking" label="Thinking…"></pixel-agent-status>
Choose a component, try it live, copy the code.
In a Vite app, install once, import the component in your JavaScript entry, then place its element beside your existing UI.
import 'pixel.md/indicator';
<pixel-agent-status state="thinking" label="Thinking…"></pixel-agent-status>
<script type="module">import "pixel.md/indicator";</script> <pixel-agent-status state="thinking" label="Thinking…"></pixel-agent-status>
Animated pixels around your existing chat input, from quiet frames to tiny moving scenes.
<script type="module">import "pixel.md/chat-effect";</script> <pixel-chat-effect variant="orbit"> <your-chat-input></your-chat-input> </pixel-chat-effect>
Click a preview to try it.
<script type="module">import "pixel.md/elements";</script> <pixel-ui-element variant="toast"></pixel-ui-element>
Small characters for assistants, agent teams, and chat bylines.
I found two changes that affect your setup. Want a short summary?
<script type="module">import "pixel.md/bot";</script> <pixel-bot-avatar variant="mote" state="working" label="San"></pixel-bot-avatar>
Node.js helpers for real CLI output. Previews show the pixel style; copied code runs in your terminal.
import { askPixelCommand, pixelOutput } from 'pixel.md/terminal';
const command = await askPixelCommand({ cwd: '~/project' });
console.log(pixelOutput({ command, status: 'success' }));