Reddit

Styles and examples for .tw-social-btn + .tw-social-provider-reddit

Button Variants

Available variant modifiers:
.tw-social-variant-outline
.tw-social-variant-light
.tw-social-variant-dark
.tw-social-variant-inverted

<a class="tw-social-btn tw-social-provider-reddit">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Reddit</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-outline">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Outlined</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-light">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Light</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-dark">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Dark</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-inverted">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Inverted</span>
</a>

Icon Buttons

Icon-only buttons, no text label.
Required class:
.tw-social-icon-only

<a class="tw-social-btn tw-social-provider-reddit tw-social-icon-only" aria-label="Reddit">
  <i class="fa-brands fa-reddit fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-outline tw-social-icon-only" aria-label="Reddit outlined">
  <i class="fa-brands fa-reddit fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-light tw-social-icon-only" aria-label="Reddit light">
  <i class="fa-brands fa-reddit fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-dark tw-social-icon-only" aria-label="Reddit dark">
  <i class="fa-brands fa-reddit fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-variant-inverted tw-social-icon-only" aria-label="Reddit inverted">
  <i class="fa-brands fa-reddit fa-lg"></i>
</a>

Icon Placement

Use .tw-social-icon-left / .tw-social-icon-right for single-icon buttons.
Use data-icon="inline-start" / data-icon="inline-end" for per-icon control (e.g., icons on both sides).

Class modifiers (single-icon buttons)

Data attribute markers (per-icon control)

<!-- Class modifiers (single-icon buttons) -->
<a class="tw-social-btn tw-social-provider-reddit tw-social-icon-left">
  <i class="fa-brands fa-reddit"></i>
  <span>Start</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-icon-right">
  <span>End</span>
  <i class="fa-brands fa-reddit"></i>
</a>

<!-- Data attribute markers (per-icon control) -->
<a class="tw-social-btn tw-social-provider-reddit">
  <i class="fa-brands fa-reddit" data-icon="inline-start"></i>
  <span>Marker Start</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit">
  <span>Marker End</span>
  <i class="fa-brands fa-reddit" data-icon="inline-end"></i>
</a>

Button Sizes

Available sizes:
.tw-social-size-sm
.tw-social-size-md
.tw-social-size-lg

<a class="tw-social-btn tw-social-provider-reddit tw-social-size-sm">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Small</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Normal</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-size-md">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Medium</span>
</a>
<a class="tw-social-btn tw-social-provider-reddit tw-social-size-lg">
  <span class="icon">
    <i class="fa-brands fa-reddit"></i>
  </span>
  <span>Large</span>
</a>

Text Colors

Apply the provider color to any text

.tw-social-text-reddit

.tw-social-text-reddit-light

.tw-social-text-reddit-dark

<p class="tw-social-text-reddit">Text with Reddit color</p>
<p class="tw-social-text-reddit-light">Text with Reddit light color</p>
<p class="tw-social-text-reddit-dark">Text with Reddit dark color</p>

Background Colors

Apply the provider color as a background

.tw-social-bg-reddit
.tw-social-bg-reddit-light
.tw-social-bg-reddit-dark
<div class="rounded-sm tw-social-bg-reddit text-white">
  .tw-social-bg-reddit
</div>
<div class="rounded-sm tw-social-bg-reddit-light">
  .tw-social-bg-reddit-light
</div>
<div class="rounded-sm tw-social-bg-reddit-dark text-white">
  .tw-social-bg-reddit-dark
</div>

Border, Ring, and SVG Utilities

Use these helpers for borders, focus rings, and SVG coloring.

.tw-social-border-reddit
.tw-social-border-reddit-light
.tw-social-border-reddit-dark
<div class="tw-social-border-reddit border-2"></div>
<div class="tw-social-border-reddit-light border-2"></div>
<div class="tw-social-border-reddit-dark border-2"></div>

<button class="tw-social-ring-reddit ring-2">Ring utility</button>
<svg class="tw-social-fill-reddit" viewBox="0 0 24 24"></svg>
<svg class="tw-social-stroke-reddit" viewBox="0 0 24 24"></svg>

Need multiple providers in one file?

Build a custom CSS bundle with only the providers you need.

Explore Customization