Foursquare

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

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-foursquare">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Foursquare</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-outline">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Outlined</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-light">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Light</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-dark">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Dark</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-inverted">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></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-foursquare tw-social-icon-only" aria-label="Foursquare">
  <i class="fa-brands fa-foursquare fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-outline tw-social-icon-only" aria-label="Foursquare outlined">
  <i class="fa-brands fa-foursquare fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-light tw-social-icon-only" aria-label="Foursquare light">
  <i class="fa-brands fa-foursquare fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-dark tw-social-icon-only" aria-label="Foursquare dark">
  <i class="fa-brands fa-foursquare fa-lg"></i>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-variant-inverted tw-social-icon-only" aria-label="Foursquare inverted">
  <i class="fa-brands fa-foursquare 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-foursquare tw-social-icon-left">
  <i class="fa-brands fa-foursquare"></i>
  <span>Start</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-icon-right">
  <span>End</span>
  <i class="fa-brands fa-foursquare"></i>
</a>

<!-- Data attribute markers (per-icon control) -->
<a class="tw-social-btn tw-social-provider-foursquare">
  <i class="fa-brands fa-foursquare" data-icon="inline-start"></i>
  <span>Marker Start</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare">
  <span>Marker End</span>
  <i class="fa-brands fa-foursquare" 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-foursquare tw-social-size-sm">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Small</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Normal</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-size-md">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Medium</span>
</a>
<a class="tw-social-btn tw-social-provider-foursquare tw-social-size-lg">
  <span class="icon">
    <i class="fa-brands fa-foursquare"></i>
  </span>
  <span>Large</span>
</a>

Text Colors

Apply the provider color to any text

.tw-social-text-foursquare

.tw-social-text-foursquare-light

.tw-social-text-foursquare-dark

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

Background Colors

Apply the provider color as a background

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

Border, Ring, and SVG Utilities

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

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

<button class="tw-social-ring-foursquare ring-2">Ring utility</button>
<svg class="tw-social-fill-foursquare" viewBox="0 0 24 24"></svg>
<svg class="tw-social-stroke-foursquare" 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