254
A little desk robot that follows your cursor with glowing eyes, perks its antenna when you come close, and nods off after a few quiet seconds until you tap it awake.
akarobot·mascot·character
Run this in any project set up for the shadcn CLI. It copies the Desk Bot source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/desk-bot.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { DeskBot } from "@/components/desk-bot";
export default function Page() {
return <DeskBot />;
}A free React illustration in the Characters collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Desk Bot source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| name | string | "Pip" |
| hue | DeskBotHue | "sky" |
| idleAfter | number | 6000 |
| onWake | () => void | — |
| onDoze | () => void | — |
| className | string | — |