Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including mithril-material-forms with all npm packages installed. Try it out:

var mithrilMaterialForms = require("mithril-material-forms")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mithril-material-forms v3.2.3

Basic input form elements as mithril components


Lightweight input form components using mithril. Requires material-icon font to work correctly (checkbox, select).

    <link href="" rel="stylesheet">

Use with

    m(Component, { requiredAttributes });

For attribute details check each component implementation in index.js. For a list of example build this project using npm run build and checkout the examples page in /test/index.html

v3 Breaking Changes

  • required mithril-dependency >= v2
  • all callbacks have mithil-lowercase names onchange instead of onChange
    • this was inconsistent in button, checkbox and input
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free