MevKit JS - Custom HTML5 Elements

MevKit is a lightweight JavaScript kit that upgrades native HTML5 inputs into modern, customizable, and developer-friendly web components.

CDN https://pack-cdnqkdg-terabit.vercel.app/cdn/css/mevkit@1.0.0/js/main.js

Why MevKit?

  • Modern UI: Say goodbye to boring default HTML inputs.
  • Custom Elements: Built on native Web Components.
  • Zero Dependencies: No frameworks, no bloat.
  • CDN Ready: Plug & play in seconds.
  • Developer Friendly: Clean syntax & flexible options.

Installation

Include the MevKit stylesheet and JavaScript file via CDN.

Elements Reference

This section documents all available MevKit custom elements, their purpose, and supported properties (props).

<mevkit-input>

The mevkit-input element is a powerful replacement for native HTML inputs, supporting multiple types with enhanced UI and behavior.

Supported Types

  • text
  • password
  • number
  • range
  • color
  • date
  • file
  • select
  • textarea

Common Props

PropTypeDescription
typestringDefines the input type (text, number, select, etc).
placeholderstringPlaceholder text shown when the input is empty.
valuestring | numberInitial value of the input.
disabledbooleanDisables the input interaction.

Number / Range Props

minnumberMinimum allowed value.
maxnumberMaximum allowed value.
stepnumberStep increment value.

Select Props

multiplebooleanAllows selecting multiple options.
searchbooleanEnables search inside the dropdown.

Textarea Props

min-rowsnumberMinimum visible rows.
max-rowsnumberMaximum auto-expanded rows.
maxlengthnumberMaximum allowed characters.

Examples

Below are some examples of MevKit custom input elements.