Buttons

The buttons on chatbase.co

The primary button on chatbase.co is #000000 with #000000 text, 9999px corners and 55px tall. Below: every button variant the site uses, its hover and focus states, and the CSS to make yours look the same.

Measured from chatbase.co 4 days ago.

primary button

Get started
Hover
no visible change
Focus
outline 2px solid lab(2.50303 0.210844 -0.773582), offset 2px
Transition
background-color, color, border-color, box-shadow, 0.15s

secondary button

Login
Hover
no visible change
Transition
background-color, color, border-color, box-shadow, 0.15s

ghost button

Product
Hover
no visible change

The CSS

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

buttons.css
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0px 0px;
  background: #000000;
  color: #000000;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Geist", sans-serif;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
  cursor: pointer;
}
​
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 16px;
  background: linear-gradient(0deg, rgba(228, 228, 231, 0) 50%, rgba(228, 228, 231, 0.2) 100%);
  color: #000000;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Geist", sans-serif;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  cursor: pointer;
}
​
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 12px;
  background: transparent;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Geist", 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/chatbase.co/DESIGN.md

Questions

How do I make buttons like chatbase.co?

Use the CSS on this page: the primary button is #000000 with #000000 text, 9999px corners, 55px tall. Add the hover and focus rules listed under each variant and set the button font to the one chatbase.co uses.

What color are the chatbase.co buttons?

The primary button on chatbase.co is #000000 with #000000 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 chatbase.co buttons?

Yes. The chatbase.co 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.