Skip to content

Social links

Each link is an icon with an accessible label. The icon sprite has no brand marks, so pass the closest sprite icon (github, mail, globe) or add brand symbols to the sprite when a site needs them. Links take the current text colour, so they work on dark surfaces too.

  • links: list of { label, href, icon } (required). label is the link’s accessible name and icon is any sprite icon name
  • label: accessible name for the list (default "Social media")
<SocialLinks
links={[
{ label: "GitHub", href: "https://github.com/", icon: "github" },
{ label: "Email us", href: "mailto:hello@example.com", icon: "mail" },
]}
/>
On a dark surface