Skip to content

Task list

A checklist where a finished task is struck through as the box is ticked.

Before launch

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/task-list.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-tasksOn a <ul>.
mn-taskOne task: a <label> holding an mn-checkbox and a <span> with the text.
mn-task-metaA due date or an owner at the end of the row.

Accessibility

  • Each task is a real checkbox with its text as the label, so the whole row is the hit area.
  • Done is conveyed by the checked state, not only by the line through the text.
  • The line draws in 360 ms and not at all under reduced motion.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page