Form Elements

<form-input
    width="250"
    height="40"
    type="text"
    placeholder="Name"
></form-input>

Form fields









console

Attribute Default Description
width 300px
height 40px
type text text, number, ...
textarea
placeholder placeholder
placeholder-up-style CSS style string
pattern input pattern
maxlength max characters
min min number
max max number
autofocus with curser

Form element with placeholder animation