Design
Pill buttons with centered icons and balanced padding
Your AI fixes your pill buttons so the icon sits centered in the round end and the label gets back the space the curve takes, with a few lines of CSS, then measures icon-left, icon-right, label-only and icon-only buttons. Based on a post by Haz.
Checked automatically · v1.0.0 · Nov 28
What your AI will deliver
- Updated button component stylesheet using --py, --px, --pill, --r, and --edge custom properties
- Layered supports browser-compatibility fallback in the button stylesheet
- Four-variant test harness (scratch/pill-button-harness.html or local preview route)
- Rendered spacing report (scratch/pill-button-report/metrics.json) and variant screenshots
How it runs
In your AI, with your accounts. It starts by researching your business. How kits work ›
- 1. Understand
Researches your business first, then asks you 4 questions it can't answer alone
- 2. Choose
Nothing to choose: the kit follows one path
- 3. Build
6 steps, risky ones ask you first
- 4. Deliver
5 checks before delivery
Tools it uses
You pay each tool directly, not CloneKit. Your AI checks which ones you already have.
Details
What the creator's process is built on. Your AI loads them during the run.
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Target repository with a web button component (React, Vue, plain CSS, or Tailwind)
- Current button padding, font-size, line-height, and border-radius values or design tokens
- Project browser support target (browserslist config or target versions)
- Local preview server or static HTML harness with Playwright or Chrome DevTools
Reference files your AI can read during and after the work.
- Pill Button Verification ChecksCHECKS.md
- Compatibility Matrix and Maintenance NotesNOTES.md
- OutputsREADME.md
- Pill Button Optical Padding RulesRULES.md
- Framework Integration Templatestemplates/pill-button-components.md
- Pill button CSS templatetemplates/pill-button-css.md
- Never modify production component files or design tokens outside scratch/ without explicit user approval.
- Never leave --r set to 999px, 9999px, or infinity inside the label compensation formula; it explodes label margin to thousands of pixels.
- Never apply :first-child or :last-child rules to bare text nodes; require a direct element wrapper such as span.label.
- Type
- Delivery
- License
- Own use
- Uses
- 0
- Runs completed
- 0