Buttons
The buttons on linear.app
The primary button on linear.app is #e5e5e6 with #08090a text, 9999px corners and 32px tall. Below: every button variant the site uses, its hover and focus states, and the CSS to make yours look the same.
Measured from linear.app 4 days ago.
primary button
- Hover
- no visible change
- Focus
- outline 1px solid rgb(94, 105, 209), offset 2px
- Transition
- border, background-color, color, box-shadow, opacity, filter, transform, 0.16s
secondary button
- Hover
- no visible change
- Transition
- all, 0s
ghost button
- Hover
- no visible change
The CSS
One class per variant, with the measured values. The font is the one linear.app sets on its buttons.
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 0px 12px;
background: #e5e5e6;
color: #08090a;
border: 1px solid #e5e5e6;
border-radius: 9999px;
font-size: 13px;
font-weight: 510;
font-family: "Inter Variable", sans-serif;
box-shadow: rgba(0, 0, 0, 0) 0px 8px 2px 0px, rgba(0, 0, 0, 0.01) 0px 5px 2px 0px, rgba(0, 0, 0, 0.04) 0px 3px 2px 0px, rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(0, 0, 0, 0.08) 0px 0px 1px 0px;
cursor: pointer;
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 24px;
padding: 0px 11px;
background: transparent;
color: #d0d6e0;
border: 1px solid #2e2e32;
border-radius: 16px;
font-size: 12px;
font-weight: 400;
font-family: "Inter Variable", sans-serif;
cursor: pointer;
}
.btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 0px 12px;
background: transparent;
color: #8a8f98;
border: none;
border-radius: 9999px;
font-size: 13px;
font-weight: 400;
font-family: "Inter Variable", 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/linear.app/DESIGN.mdQuestions
How do I make buttons like linear.app?
Use the CSS on this page: the primary button is #e5e5e6 with #08090a text, 9999px corners, 32px tall. Add the hover and focus rules listed under each variant and set the button font to the one linear.app uses.
What color are the linear.app buttons?
The primary button on linear.app is #e5e5e6 with #08090a 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 linear.app buttons?
Yes. The linear.app 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.