Skip to content

minimalist-components/mn-form

Repository files navigation

npm version Dependency Status MIT Licence

mn-form

A form component to mn-inputs.

Install

npm install --save mn-form

And bundle dependencies and main files in dist/ with your preferred tool.

Usage

In your html, you can use the tag mn-form e.g.

<mn-form>
  <!-- inputs goes here -->
</mn-form>

Note, the class passed to mn-form will be transfer to a form element inside mn-form

The following attributes from forms are supported in this component