Skip to content

Pronouns Pill

A copy-paste profile headers component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Profile HeadersHTMLCSSany framework
she / herthey / themhe / him

Copy into your project

HTML
<div class="nuda-pronouns">
  <span class="nuda-pronouns__pill">she / her</span>
  <span class="nuda-pronouns__pill">they / them</span>
  <span class="nuda-pronouns__pill">he / him</span>
</div>
CSS
/* Pronouns Pill
   Subtle outlined pill for pronoun display.
   Customize: --pill-bg, --pill-text, --pill-accent */

.nuda-pronouns {
  --pill-bg: rgba(255, 255, 255, 0.04);
  --pill-text: #a0a0a8;
  --pill-accent: #e4ff54;
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
}

.nuda-pronouns__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--pill-text);
  background: var(--pill-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nuda-pronouns__pill:hover {
  color: var(--pill-accent);
  border-color: rgba(228, 255, 84, 0.3);
  background: rgba(228, 255, 84, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .nuda-pronouns__pill { transition: none; }
}

How to use Pronouns Pill

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More profile headers components

← Browse all NudaUI components