Skip to content

Stories bar

A scrolling row of avatars with a ring for new stories and a grey ring for seen ones.

Stories

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/stories-bar.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-storybarThe row (<ul>).
mn-storybar-ringThe ring around an avatar; data-seen on the link makes it grey.
mn-storybar-labelThe name under it.

Accessibility

  • Each item is a link or button whose name says whose story it is and whether it is new (“Ana, new story”).
  • The row scrolls horizontally with the keyboard focus.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page