Buttons

The buttons on dropbox.com

The primary button on dropbox.com is #0061fe with #f7f5f2 text, 12px 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 dropbox.com 4 days ago.

primary button

Get started
Hover
background #0061fe → #0057e5
Focus
box-shadow ring rgb(66, 139, 255) 0px 0px 0px 3px
Transition
background-color, border-color, 0.1s, 0.1s

secondary button

Try Dropbox free
Hover
background #0061fe → #0057e5
Transition
background-color, border-color, 0.1s, 0.1s

ghost button

Products
Hover
no visible change

The CSS

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

buttons.css
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0px 12px;
  background: #0061fe;
  color: #f7f5f2;
  border: 2px solid #0061fe;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Atlas Grotesk Web", sans-serif;
  cursor: pointer;
}
​
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 16px 24px;
  background: transparent;
  color: #1e1919;
  border: 2px solid #1e1919;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Atlas Grotesk Web", sans-serif;
  cursor: pointer;
}
​
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 16px 12px;
  background: transparent;
  color: #1e1919;
  border: none;
  border-radius: 0px;
  font-size: 13.3333px;
  font-weight: 400;
  font-family: "Atlas Grotesk Web", 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/dropbox.com/DESIGN.md

Questions

How do I make buttons like dropbox.com?

Use the CSS on this page: the primary button is #0061fe with #f7f5f2 text, 12px corners, 40px tall. Add the hover and focus rules listed under each variant and set the button font to the one dropbox.com uses.

What color are the dropbox.com buttons?

The primary button on dropbox.com is #0061fe with #f7f5f2 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 dropbox.com buttons?

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