Playground

Plain CSS

The core is plain CSS. Link it from any page and use the classes, with no framework or build step.

Installation

  1. Get the stylesheet

    Copy monoline.min.css from @monoline/css, or install the package and link node_modules/@monoline/css/dist/monoline.min.css.

  2. Link it and use the classes

    index.html
    <link rel="stylesheet" href="monoline.min.css" />
    <button class="btn btn-solid">Save</button>
    
  3. Optional behaviour

    @monoline/css/monoline.js adds tabs, dialog and the theme switch for pages without React.

Smaller CSS

Load the core and only the components you use, in any setup.

import '@monoline/css/core.css';
import '@monoline/css/components/button.css';
import '@monoline/css/components/dialog.css';