Buttons
The buttons on headspace.com
The primary button on headspace.com is #0061ef with #ffffff text, 32px corners and 48px tall. Below: every button variant the site uses, its hover and focus states, and the CSS to make yours look the same.
Measured from headspace.com 4 days ago.
primary button
- Hover
- background #0061ef → #0040ea
- Focus
- outline 2px solid rgb(0, 64, 234), offset 1px
- Transition
- color, background-color, border-color, box-shadow, transform, 0.15s, 0.15s, 0.15s, 0.15s, 0.15s
secondary button
- Hover
- background #2d2c2b → #141313
- Transition
- color, background-color, border-color, box-shadow, transform, 0.15s, 0.15s, 0.15s, 0.15s, 0.15s
The CSS
One class per variant, with the measured values. The font is the one headspace.com sets on its buttons.
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 48px;
padding: 14.3px 24px;
background: #0061ef;
color: #ffffff;
border: 2px solid transparent;
border-radius: 32px;
font-size: 14px;
font-weight: 700;
font-family: "Headspace Apercu", sans-serif;
box-shadow: rgba(65, 61, 69, 0.2) 0px 2px 0px 0px;
cursor: pointer;
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 48px;
padding: 14px 20px;
background: #2d2c2b;
color: #ffffff;
border: 2px solid transparent;
border-radius: 32px;
font-size: 16px;
font-weight: 700;
font-family: "Headspace Apercu", sans-serif;
cursor: pointer;
}For AI agents
The pack is plain text, no key: fetch DESIGN.md, or hand the whole pack to Claude Code, Cursor or Copilot with the MCP server.
curl -s https://stylepack.ai/packs/headspace.com/DESIGN.mdQuestions
How do I make buttons like headspace.com?
Use the CSS on this page: the primary button is #0061ef with #ffffff text, 32px corners, 48px tall. Add the hover and focus rules listed under each variant and set the button font to the one headspace.com uses.
What color are the headspace.com buttons?
The primary button on headspace.com is #0061ef with #ffffff text. The site uses 2 button variants in total; each one is listed on this page with its background, border, radius and size.
Can an AI coding agent copy the headspace.com buttons?
Yes. The headspace.com design pack from Stylepack holds every button variant with its states, the fonts, the colors and screenshots, so Claude Code, Cursor or Copilot can build buttons that match.