Skip to content

Profile header

The top of a profile page: cover, avatar, name, bio, details, stats and a follow button.

Profile

Ilinca Sava@ilinca

Writes about craft and software. Book on repair, Second Hands, out in spring.

Cluj-Napoca fieldnotes.example Joined 2019

412following18.2kfollowers1,204posts

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/profile-header.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-profileThe header. Add mn-card for a surface.
mn-profile-coverCover band (optionally with an image inside).
mn-profile-topAvatar overlapping the cover, and actions.
mn-profile-nameName and handle.
mn-profile-bio · mn-profile-meta · mn-profile-statsBio, details with icons, counts.

Accessibility

  • The name is the page’s heading (<h1> on a profile page).
  • Follow is a toggle button with aria-pressed, or a clear “Follow” / “Following” label.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page