Skip to content

Scroll area

A scrolling region with thin scrollbars and shadows that appear only where more content is hidden.

Release notes

1.3
More noodles and components

1.2
Design languages for every noodle

1.1
Contact form and admin

1.0
The component library

0.9
Noodles become design languages

0.8
Charts

0.7
First public version

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/scroll-area.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-scroll-areaThe region. Set --h for its maximum height.
mn-scroll-area-xHorizontal scrolling.

Accessibility

  • Make it focusable (tabindex="0") with role="region" and an aria-label so keyboard users can scroll it.
  • The shadows are pure CSS (background-attachment: local), no script, no layout shift.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page