social-icons.mdx 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. ---
  2. title: Social Icons
  3. summary: Social icons are a great way to make your website more engaging and user-friendly. You can use social icons to help users quickly find your social media profiles and connect with you.
  4. plugin: socials
  5. libs: tabler-socials
  6. description: Connect users to your social profiles.
  7. ---
  8. ## Installation
  9. This part of Tabler is distributed as plugin. To enable it you should include `tabler-socials.css` or `tabler-socials.min.css` file to your page.
  10. You can also include plugin via CDN:
  11. ```html
  12. <link rel="stylesheet" href="$TABLER_CDN/dist/css/tabler-socials.min.css">
  13. ```
  14. ## Social icons
  15. To create a social icon, add the `social` class to a component and choose the country whose flag you want to use.
  16. ```html example centered separated plugins="socials"
  17. <span class="social social-app-facebook"></span>
  18. <span class="social social-app-x"></span>
  19. <span class="social social-app-instagram"></span>
  20. ```
  21. ## Social apps list
  22. Here is a list of all available social apps:
  23. <SocialsTable apps={[
  24. {
  25. "name": "Apple",
  26. "file": "apple"
  27. },
  28. {
  29. "name": "Discord",
  30. "file": "discord"
  31. },
  32. {
  33. "name": "Dribbble",
  34. "file": "dribbble"
  35. },
  36. {
  37. "name": "Facebook",
  38. "file": "facebook"
  39. },
  40. {
  41. "name": "Figma",
  42. "file": "figma"
  43. },
  44. {
  45. "name": "GitHub",
  46. "file": "github"
  47. },
  48. {
  49. "name": "Google",
  50. "file": "google"
  51. },
  52. {
  53. "name": "Instagram",
  54. "file": "instagram"
  55. },
  56. {
  57. "name": "LinkedIn",
  58. "file": "linkedin"
  59. },
  60. {
  61. "name": "Medium",
  62. "file": "medium"
  63. },
  64. {
  65. "name": "Meta",
  66. "file": "meta"
  67. },
  68. {
  69. "name": "MetaMask",
  70. "file": "metamask"
  71. },
  72. {
  73. "name": "Pinterest",
  74. "file": "pinterest"
  75. },
  76. {
  77. "name": "Reddit",
  78. "file": "reddit"
  79. },
  80. {
  81. "name": "Signal",
  82. "file": "signal"
  83. },
  84. {
  85. "name": "Skype",
  86. "file": "skype"
  87. },
  88. {
  89. "name": "Snapchat",
  90. "file": "snapchat"
  91. },
  92. {
  93. "name": "Spotify",
  94. "file": "spotify"
  95. },
  96. {
  97. "name": "Telegram",
  98. "file": "telegram"
  99. },
  100. {
  101. "name": "TikTok",
  102. "file": "tiktok"
  103. },
  104. {
  105. "name": "Tumblr",
  106. "file": "tumblr"
  107. },
  108. {
  109. "name": "Twitch",
  110. "file": "twitch"
  111. },
  112. {
  113. "name": "VK",
  114. "file": "vk"
  115. },
  116. {
  117. "name": "X (Twitter)",
  118. "file": "x"
  119. },
  120. {
  121. "name": "YouTube",
  122. "file": "youtube"
  123. }
  124. ]} />