Buttons

The buttons on notion.com

The primary button on notion.com is #0075de with #ffffff text, 8px corners and 36px tall. Below: every button variant the site uses, its hover and focus states, and the CSS to make yours look the same.

Measured from notion.com 4 days ago.

primary button

Get Notion free
Hover
background #0075de → #005bab
Focus
outline 2px solid rgba(0, 117, 222, 0.925), offset 2px
Transition
all, 0s

secondary button

Request a demo
Hover
background #0075de → #005bab
Transition
background-color, color, 0.2s

ghost button

Product
Hover
no visible change

The CSS

One class per variant, with the measured values. The font is the one notion.com sets on its buttons.

buttons.css
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 4px 14px;
  background: #0075de;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: "NotionInter", sans-serif;
  cursor: pointer;
}
​
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 6px 15px;
  background: #e6f3fe;
  color: #005bab;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: "NotionInter", sans-serif;
  cursor: pointer;
}
​
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 5px 10px;
  background: transparent;
  color: #000000e5;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  font-family: "NotionInter", 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/notion.com/DESIGN.md

Questions

How do I make buttons like notion.com?

Use the CSS on this page: the primary button is #0075de with #ffffff text, 8px corners, 36px tall. Add the hover and focus rules listed under each variant and set the button font to the one notion.com uses.

What color are the notion.com buttons?

The primary button on notion.com is #0075de 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 notion.com buttons?

Yes. The notion.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.