Buttons
The buttons on rivian.com
The primary button on rivian.com is #000000 with #ffffff text, 40px corners and 56px tall. Below: every button variant the site uses, its hover and focus states, and the CSS to make yours look the same.
Measured from rivian.com 4 days ago.
primary button
- Hover
- background #ffaa00 → #ffbd2e
- Focus
- outline 2px none rgb(255, 170, 0), offset 2px
- Transition
- color, background-color, border-color, text-decoration-color, fill, stroke, 0.15s
secondary button
- Hover
- background oklch(0.96 0 0) → oklch(0.92 0 0)
- Transition
- color, background-color, border-color, text-decoration-color, fill, stroke, 0.15s
ghost button
- Hover
- no visible change
The CSS
One class per variant, with the measured values. The font is the one rivian.com sets on its buttons.
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 56px;
padding: 8px 16px;
background: #000000;
color: #ffffff;
border: none;
border-radius: 40px;
font-size: 16px;
font-weight: 500;
font-family: "Adventure", sans-serif;
cursor: pointer;
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 8px 16px;
background: #ffaa00;
color: #000000;
border: none;
border-radius: 9999px;
font-size: 14px;
font-weight: 600;
font-family: "Adventure", sans-serif;
cursor: pointer;
}
.btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 8px 12px;
background: transparent;
color: #000000;
border: none;
border-radius: 9999px;
font-size: 14px;
font-weight: 600;
font-family: "Adventure", 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/rivian.com/DESIGN.mdQuestions
How do I make buttons like rivian.com?
Use the CSS on this page: the primary button is #000000 with #ffffff text, 40px corners, 56px tall. Add the hover and focus rules listed under each variant and set the button font to the one rivian.com uses.
What color are the rivian.com buttons?
The primary button on rivian.com is #000000 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 rivian.com buttons?
Yes. The rivian.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.