Plain CSS
The core is plain CSS. Link it from any page and use the classes, with no framework or build step.
Installation
Get the stylesheet
Copy
monoline.min.cssfrom@monoline/css, or install the package and linknode_modules/@monoline/css/dist/monoline.min.css.Link it and use the classes
index.html<link rel="stylesheet" href="monoline.min.css" /> <button class="btn btn-solid">Save</button>Optional behaviour
@monoline/css/monoline.jsadds 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';