Buttons
The buttons on stripe.com
The primary button on stripe.com is #533afd with #ffffff text, 4px corners and 40px tall. Below: every button variant the site uses, its hover and focus states, and the CSS to make yours look the same.
Measured from stripe.com 4 days ago.
primary button
- Hover
- background #533afd → #4032c8
- Focus
- outline 3px solid rgba(84, 82, 251, 0.75), offset 1px
- Transition
- color, background-color, border-color, 0.24s, 0.24s, 0.24s
secondary button
- Hover
- background transparent → #ffffff, text #533afd → #2e2b8c, border #ffffff → #4032c8, icon/inner colour → #2e2b8c
- Transition
- color, background-color, border-color, 0.24s, 0.24s, 0.24s
ghost button
- Hover
- no visible change
The CSS
One class per variant, with the measured values. The font is the one stripe.com sets on its buttons.
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
padding: 11.5px 20px;
background: #533afd;
color: #ffffff;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 400;
font-family: "sohne-var", sans-serif;
cursor: pointer;
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
padding: 10.5px 20px;
background: transparent;
color: #533afd;
border: 1px solid #ffffff;
border-radius: 4px;
font-size: 14px;
font-weight: 400;
font-family: "sohne-var", sans-serif;
cursor: pointer;
}
.btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
padding: 12px 0px;
background: transparent;
color: #061b31;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 400;
font-family: "sohne-var", 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/stripe.com/DESIGN.mdQuestions
How do I make buttons like stripe.com?
Use the CSS on this page: the primary button is #533afd with #ffffff text, 4px corners, 40px tall. Add the hover and focus rules listed under each variant and set the button font to the one stripe.com uses.
What color are the stripe.com buttons?
The primary button on stripe.com is #533afd with #ffffff text. The site uses 3 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 stripe.com buttons?
Yes. The stripe.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.