
Inputs · Free
Label maker
A tag input that works like a label maker: each letter is punched into ink tape, Enter cuts the label and it drops onto the row as a tag.
Free on Gumroad: the download arrives in your inbox.
Details
- Category
- Inputs
- Plan
- Free
- Code
- React + Tailwind, TypeScript · 245 lines
- Files
- LabelMaker.tsx
- Needs
- The Bot (installed with it)
- Agents
- MCP server and shadcn registry
About
A tag input that works like an embossing label maker, kept minimal. Type and every letter is punched into the ink tape as a crisp white letter: the machine gives a little kerchunk, the Bot sitting on it blinks, and the tape feeds out a step. Backspace pulls the last letter back in. Press Enter (or Cut) and the tape is cut: the label drops onto the row below as a neat tag. Click a tag to peel it off.
One real text input underneath, so typing, paste, mobile keyboards and screen readers all work. Letters are what a label maker's wheel has: A to Z, 0 to 9 and a few signs, in capitals.
React + Tailwind and the Bot, no other libraries.
Install
With the shadcn CLI:
npx shadcn@latest add https://www.stackd.codes/r/label-maker.jsonOr let your agent add it through the StackD MCP server:
claude mcp add --transport http stackd https://www.stackd.codes/mcpPrompt for your agent
Paste it into Claude Code, Cursor, Codex or VS Code once the MCP server is connected.
Add the StackD Label maker component to this project. Use the StackD MCP server: call get_component with { "name": "label-maker" }, write the files at the paths it gives and install any npm packages it lists. Then use it where it fits, following its README for the props, and keep its own styles.Use
- Copy
LabelMaker.tsxandBot.tsxinto the same folder (for examplecomponents/). - Use it:
import { LabelMaker } from './components/LabelMaker'
<LabelMaker
defaultLabels={['DESIGN', 'REACT']}
onAdd={(label) => save(label)}
onRemove={(label) => remove(label)}
/>
In Next.js the files already start with 'use client'. In other React setups that line does nothing.
Options
| Prop | Default | What it does |
|---|---|---|
defaultLabels | ['DESIGN', 'REACT', 'STACKD'] | The labels already stuck on |
onAdd | Called with a new label when it's cut | |
onRemove | Called with a label when it's peeled off | |
maxLength | Longest label in letters. Default: as many as fit | |
width | 560 | Width in px. The tape and machine stay centred |
theme | 'light' | 'light' (ink machine and tape) or 'dark' (white ones, for a dark page) |
bot | 'hexagon' | The Bot's shape on the machine |
label | 'New label' | What a screen reader calls the input |
Accessibility
A real text input with a name and a hint ("Type a label and press Enter to cut it"). Every tag is a button that says "DESIGN, remove". Cut is a real button too. With reduced motion on, nothing feeds, drops or peels: labels just appear and go.
Colours from StackD
White #FFFFFF · Ink #141310 · Wine #901919 · Olive #6C8544 · Ochre #BE9344 · Lilac #C9B8FF
Licence
You can use it in personal and commercial projects. Don't resell or share the component on its own.




