mn-date

a input date, with minimalist design

Usage no npm install needed!

<script type="module">
  import mnDate from 'https://cdn.skypack.dev/mn-date';
</script>

README

npm version Dependency Status MIT Licence

mn-date

A input component (type date), with minimalist design.

See the demo

preview demo

Install

npm install --save mn-date

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

Usage

And then, in your html, you can use the tag mn-date e.g.

<mn-date placeholder="Number"></mn-date>
<mn-date value="2017-01-18"></mn-date>

The following attributes from input date are supported in this component