current theme: placeholder

Components :: Social Media Links

Specs

File NameclassSource
component.socialMedia.css.socialMediaGithub

The socialMedia component consists of an unordered list of links to social media accounts and their corresponding icons. The following 4 sizes and 19 icons (18 social media platforms + 1 generic link icon) are available out of the box.

Available modifiersDescription
.socialMediaDefault - 24px
.socialMedia + .socialMedia-md32px
.socialMedia + .socialMedia-lg44px
.socialMedia + .socialMedia-xl64px
PlatformIcon
Unknown URL
Discord
Facebook
Github
Instagram
Linkedin
Pinterest
Reddit
Snapchat
Telegram
Tiktok
X
Youtube
Twitch
Odysee
Minds
Substack
Bitchute
Bastyon

When using the HTML component you’ll need to include the SVG icons “manually.” All the icons are available on Github. If you’d like to use different icons, Lucide is a great resource.

The Astro component (Github) takes 3 props:

  • urls: an array of social media urls
  • size (optional) string: md, lg, xl
  • extraClass: (optional) additional css, useful for helper classes.

Examples