Connect button

The button your users click to connect their Haplotype Wallet. A light and a dark version, and the rules for using them.

Updated October 18, 2026

The files

Connect Haplotype Wallet
Light pages · SVG · PNG · PNG @2x
Connect Haplotype Wallet
Dark pages · SVG · PNG · PNG @2x

Use the SVG. It needs no font or image files, because the text is drawn as outlines, and it stays sharp at any size. Use a PNG only where SVG does not work, such as in some email clients. Show the 2x PNG at 244 × 44 px so it stays sharp on high-density screens.

The URLs stay the same when we update the design. Link to them, or copy the files into your app.

https://www.haplotype.ai/developers/assets/connect-wallet-button-light.svg
https://www.haplotype.ai/developers/assets/connect-wallet-button-dark.svg

For the PNGs, replace .svg with .png or @2x.png.

Adding it to a page

Put the button inside a link to your own server route that starts the authorization. The Connect Wallet guide explains what that route does.

<a href="/connect/haplotype-wallet">
  <img
    src="https://www.haplotype.ai/developers/assets/connect-wallet-button-light.svg"
    alt="Connect Haplotype Wallet"
    width="244"
    height="44"
  />
</a>

Keep the alt text. It is what screen readers announce. Give the link a visible focus outline, because the image has none of its own.

If your page follows the system's light or dark mode, let the browser pick the version. This example serves copies of both files from your own site.

<picture>
  <source
    srcset="/img/connect-wallet-button-dark.svg"
    media="(prefers-color-scheme: dark)"
  />
  <img
    src="/img/connect-wallet-button-light.svg"
    alt="Connect Haplotype Wallet"
    width="244"
    height="44"
  />
</picture>

Rules

  • Size. The default size is 244 × 44 px. You can scale the button up or down, keeping its proportions. Do not show it smaller than 40 px tall (222 × 40 px).
  • Clear space. Keep empty space of at least a quarter of the button's height on every side, 11 px at the default size. No text, icons or other buttons go inside it.
  • Backgrounds. Use the light version on white or light, plain backgrounds. Use the dark version on black or dark, plain backgrounds. Do not put either on photos, patterns, gradients or bright colors.
  • No edits. Do not change the logo, the label, the colors, the font or the corners. Do not crop, stretch or rotate the button, and do not add shadows or other effects. If it does not fit your design, write to us before you draw your own.
  • One purpose. Use the button only to start connecting a user's Haplotype Wallet to your app.

Contrast

The label meets WCAG AA contrast (at least 4.5:1) against the button's own fill, in both versions.