User cards

User cards are a combination of a user and metadata about the user or post

Classes

ClassDescriptionParentModifies
.s-user-cardBase user card container that applies the basic style.N/AN/A
.s-user-card--columnA container for column elements..s-user-card
.s-user-card--rowA container for row elements..s-user-card
.s-user-card--groupA container for group elements..s-user-card
.s-user-card--bioContainer for the user's bio.N/AN/A
.s-user-card--recognitionContainer for recognition by a collective.N/AN/A
.s-user-card--repContainer for the user's reputation.N/AN/A
.s-user-card--timeContainer for the user's timestamp.N/AN/A
.s-user-card--usernameContainer for the user's username.N/AN/A
.s-user-card--group__splitInserts a separator between each element.N/A.s-user-card--group
.s-user-card__smUse the small variant for space-constrained areas, such as post summaries, or to establish visual hierarchy for secondary content like comments and replies.N/A.s-user-card
.s-user-card__lgUse the large variant when space permits and more detailed information is desired.N/A.s-user-card
.s-user-card--username__opIdentifies the author of the primary post when they appear in secondary contexts, like comment threads.N/A.s-user-card--username
.s-user-card__deletedWhen a user is deleted, we still need to show their name, but we strip the metadata.N/A.s-user-card
.s-user-card--recognition-additional-blingThis label appears within a Collective question post to signal that they are a Recognized Member.N/AN/A

Examples

Default

The base style is the standard variant used to connect a user to their content, appearing most frequently in post-summary lists and on question pages. This view is flexible, allowing various metadata fields to be shown or hidden as needed.

Information

Note on timestamps: Hovering over the timestamp displays a popover with precise dates and a link to the post's /timeline. For authors, this shows the post creation date; for editors, it shows the last modification date.

<div class="s-user-card">
    <a class="s-user-card--group" href="…">
        <!-- Note: Default variant includes avatar size modifier (s-avatar__24) -->
        <span class="s-avatar s-avatar__24">
            <img class="s-avatar--image" alt="…" src="…" />
        </span>
        <span class="s-user-card--username"></span>
    </a>
    <ul class="s-user-card--group">
        <li class="s-user-card--rep">
            <span class="s-bling s-bling__sm">
                <span class="v-visible-sr">reputation bling</span>
            </span></li>
        <li>
            <span class="s-bling s-bling__gold s-bling__sm">
                <span class="v-visible-sr">gold bling</span>
            </span></li>
        <li>
            <span class="s-bling s-bling__silver s-bling__sm">
                <span class="v-visible-sr">silver bling</span>
            </span></li>
        <li>
            <span class="s-bling s-bling__bronze s-bling__sm">
                <span class="v-visible-sr">bronze bling</span>
            </span></li>
    </ul>
    <a class="s-user-card--time" href="…" title="2026-01-09 12:15:39Z" data-controller="s-tooltip">
        <time></time>
    </a>
</div>
demo avatar SofiaAlc
  • reputation bling 1,775
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling
  • silver bling
  • bronze bling
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4

With badges

Adds the User badge indicator to the usercard. Use this to signify the official role, status, or origin of the account (such as Moderator, Staff, or Bot) directly alongside the user’s name.

<div class="s-user-card">
    <a class="s-user-card--group" href="…">
        <span class="s-avatar s-avatar__24">
            <img class="s-avatar--image" alt="…" src="…" />
        </span>
        <span class="s-user-card--username"></span>
    </a>
    <div class="s-user-card--group">
        <span class="s-badge s-badge__sm"></span>
    </div>
    <ul class="s-user-card--group">
        <li class="s-user-card--rep">
            <span class="s-bling s-bling__sm">
                <span class="v-visible-sr">reputation bling</span>
            </span></li></ul>
    <a class="s-user-card--time" href="…" title="2026-01-09 12:15:39Z" data-controller="s-tooltip">
        <time></time>
    </a>
</div>
demo avatar SofiaAlc
Mod
  • reputation bling 1,775
  • gold bling
  • silver bling
  • bronze bling
demo avatar SofiaAlc
Staff Mod
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4

Sizes

ClassDescriptionSize
.s-user-card__smUse the small variant for space-constrained areas, such as post summaries, or to establish visual hierarchy for secondary content like comments and replies.small
N/AUse the default variant when the user needs a more primary focus of the content. This style features a larger avatar to establish top-level hierarchy like question and answer authors.N/A
.s-user-card__lgUse the large variant when space permits and more detailed information is desired.large

Small

Use the small variant for space-constrained areas, such as post summaries, or to establish visual hierarchy for secondary content like comments and replies. Note that the small variant does not include an avatar size modifier.

<div class="s-user-card s-user-card__sm">
    <a class="s-user-card--group" href="…">
        <!-- Note: Small variant does not include avatar size modifier -->
        <span class="s-avatar">
            <img class="s-avatar--image" alt="…" src="…" />
        </span>
        <span class="s-user-card--username"></span>
    </a>
    <ul class="s-user-card--group">
        <li class="s-user-card--rep">
            <span class="s-bling s-bling__sm">
                <span class="v-visible-sr">reputation bling</span>
            </span></li></ul>
    <a class="s-user-card--time" href="…" title="2026-01-09 12:15:39Z" data-controller="s-tooltip">
        <time></time>
    </a>
</div>
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4

Large

Use the large variant when space permits and more detailed information is desired. The large variant uses a different structural layout with s-user-card--row and s-user-card--column to accommodate an expanded avatar and additional profile details.

<div class="s-user-card s-user-card__lg">
    <div class="s-user-card--row">
        <a class="s-avatar s-avatar__48" href="…">
            <img class="s-avatar--image" alt="…" src="…" />
        </a>
        <div class="s-user-card--column">
            <div class="s-user-card--row">
                <a class="s-user-card--username" href="…"></a>
                <div class="s-user-card--group">
                    <span class="s-badge s-badge__moderator s-badge__sm"></span>
                </div>
            </div>
            <ul class="s-user-card--group">
                <li class="s-user-card--rep">
                    <span class="s-bling s-bling__sm">
                        <span class="v-visible-sr">reputation bling</span>
                    </span></li></ul>
        </div>
    </div>
    <div class="s-user-card--column">
        <div class="s-user-card--row s-user-card--recognition">
            <!-- StarVerifiedSm icon -->
            <span></span>
        </div>
        <ul class="s-user-card--group s-user-card--group__split">
            <li></li>
            <li></li>
        </ul>
        <div class="s-user-card--bio"></div>
    </div>
</div>
demo avatar
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
Recognized by AudioBubble
  • Senior Product Designer
  • Vancouver, Canada
Developer who believes in clean code, clear coffee, and the occasional snake pun. Automating the boring stuff one script at a time.
demo avatar
  • reputation bling 1
  • Vancouver, Canada
Developer who believes in clean code, clear coffee, and the occasional snake pun. Automating the boring stuff one script at a time.
demo avatar
  • reputation bling 1
  • gold bling 8
  • silver bling 12
  • bronze bling 4

States

ClassDescriptionState
.s-user-card--username__opThis label identifies the author of the primary post (such as the Question asker) when they appear in secondary contexts, like comment threads.Original Poster
N/AThis label appears on a user's first-ever question or answer to signal that they are new to the platform.New Contributor
.s-user-card__deletedWhen a user is deleted, we still need to show their name, but we strip the meta data.Deleted user

Original Poster

This label identifies the author of the primary post (such as the Question asker) when they appear in secondary contexts, like comment threads.

<div class="s-user-card">
    <a class="s-user-card--group" href="…">
        <span class="s-avatar s-avatar__24">
            <img class="s-avatar--image" alt="…" src="…" />
        </span>
        <span class="s-user-card--username s-user-card--username__op" data-s-tooltip-html-title="<a href='…' class='s-link s-link__underlined'>…</a> is the original poster" data-controller="s-tooltip"></span>
    </a>
    <ul class="s-user-card--group"></ul>
    <a class="s-user-card--time" href="…" title="Show activity on this post" data-controller="s-tooltip">
        <time></time>
    </a>
</div>
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
demo avatar SofiaAlc
Mod
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4

New Contributor

This label appears on a user’s first-ever question or answer to signal that they are new to the platform.

<div class="s-user-card">
    <a class="s-user-card--group" href="…">
        <span class="s-avatar s-avatar__24">
            <img class="s-avatar--image" alt="…" src="…" />
        </span>
        <span class="s-user-card--username s-user-card--new-contributor"></span>
    </a>
    <div class="s-user-card--group">
        <span class="s-badge s-badge__sm s-badge__new" data-s-tooltip-html-title="<a href='…' class='s-link s-link__underlined'>…</a> is a new contributor to this site. Take care in asking for clarification, commenting, and answering. <a href='…' class='s-link s-link__underlined'>Check out our Code of Conduct</a>" data-controller="s-tooltip">New</span>
    </div>
    <ul class="s-user-card--group"></ul>
    <a class="s-user-card--time" href="…" title="Show activity on this post" data-controller="s-tooltip">
        <time></time>
    </a>
</div>
demo avatar SofiaAlc
New
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
demo avatar SofiaAlc
New
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
demo avatar SofiaAlc
New Staff
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4

Deleted user

When a user is deleted, we still need to show their name, but we strip the metadata.

<div class="s-user-card s-user-card__deleted">
    <div class="s-user-card--group">
        <img alt="…" src="…" />
        <span class="s-user-card--username"></span>
    </div>
    <a class="s-user-card--time" href="…" title="Show activity on this post" data-controller="s-tooltip">
        <time></time>
    </a>
</div>
deleted user avatar SofiaAlc
deleted user avatar SofiaAlc

Additional bling

Use to display a specialized icon alongside the username, highlighting unique achievements. This style is additive and can be combined with any of the usercard variants listed above.

ClassDescriptionName
.s-user-card--recognition-additional-blingThis label appears within a Collective question post to signal that they are a Recognized Member.Recognized Member
N/AThis icon appears next to a user when they are within the top 3 positions of a Collective's leaderboard.Awarded

Recognized Member

<!-- Small variant -->
<div class="s-user-card s-user-card__sm">
    <a class="s-user-card--group" href="…">
        <span class="s-avatar">
            <img class="s-avatar--image" alt="…" src="…" />
        </span>
        <span class="s-user-card--username"></span>
    </a>
    <a href="…" class="s-user-card--group s-user-card--recognition" title="…" aria-label="…" data-controller="s-tooltip">
        <!-- StarVerifiedSm icon -->
    </a>
    <ul class="s-user-card--group"></ul>
    <a class="s-user-card--time" href="…" title="Show activity on this post" data-controller="s-tooltip">
        <time></time>
    </a>
</div>

<!-- Default variant -->
<div class="s-user-card">
    <div class="s-user-card--column">
        <div class="s-user-card--row">
            <a class="s-avatar s-avatar__24" href="…">
                <img class="s-avatar--image" alt="…" src="…" />
            </a>
            <a class="s-user-card--group" href="…">
                <span class="s-user-card--username"></span>
            </a>
            <ul class="s-user-card--group"></ul>
            <a class="s-user-card--time" href="…" title="Show activity on this post" data-controller="s-tooltip">
                <time></time>
            </a>
        </div>
        <div class="s-user-card--row">
            <div class="s-user-card--row s-user-card--recognition">
                <!-- StarVerifiedSm icon -->
                <span>Recognized by <a href="…"></a></span>
            </div>
        </div>
    </div>
</div>
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
demo avatar SofiaAlc
Staff
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
Recognized by AudioBubble
demo avatar SofiaAlc
Staff
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4
Recognized by AudioBubble

Awarded

This icon appears next to a user when they are within the top 3 positions of a Collective’s leaderboard.

<div class="s-user-card s-user-card__sm">
    <a class="s-user-card--group" href="…">
        <span class="s-avatar">
            <img class="s-avatar--image" alt="…" src="…" />
        </span>
        <span class="s-user-card--username"></span>
    </a>
    <a class="s-user-card--group fc-orange-400" href="…" title="…" aria-label="…" data-controller="s-tooltip">
        <!-- AchievementsSm icon -->
    </a>
    <ul class="s-user-card--group"></ul>
    <a class="s-user-card--time" href="…" title="Show activity on this post" data-controller="s-tooltip">
        <time></time>
    </a>
</div>
demo avatar SofiaAlc
  • reputation bling 1,775
  • gold bling
  • silver bling
  • bronze bling
demo avatar SofiaAlc
Mod
  • reputation bling 1,775
  • gold bling 8
  • silver bling 12
  • bronze bling 4