Skip to content

Input

Single-line text entry. Styles every native input type: text, email, password, search, number, date, time, color.

Types

Sizes

States

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/input.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-inputBase input.
mn-input-sm · mn-input-lgSizes.
aria-invalid="true"Error state.

Accessibility

  • Use the right type and autocomplete values so mobile keyboards and password managers help.
  • Placeholder is not a label.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page