Microsoft

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

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

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

Text Colors

Apply the provider color to any text

.tw-social-text-microsoft

.tw-social-text-microsoft-light

.tw-social-text-microsoft-dark

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

Background Colors

Apply the provider color as a background

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

Border, Ring, and SVG Utilities

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

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

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