Modern, accessible, and form-native input components built with Lit. Zero dependencies, maximum flexibility.
Get started with Inputs.js in seconds. Choose your preferred installation method.
Perfect for projects using build tools like Vite, Webpack, or Rollup.
Quick and easy - just add a script tag to your HTML.
Interactive examples showcasing the power and flexibility of Inputs.js
Choose your preferred design theme for the input components
<input-text name="base64" label="Base64" placeholder="SGVsbG8gd29ybGQ=" validate-on="blur" format="base64" required> </input-text>
<input-text name="base64url" label="Base64URL" placeholder="SGVsbG8gd29ybGQ=" validate-on="blur" format="base64url" required> </input-text>
<input-password name="show_password" label="Password" placeholder="Password" action-button="show" validate-on="blur" required> </input-password>
<input-number name="amount" label="Amount" placeholder="100" validate-on="blur" format="number" gte="10" positive required> </input-number>
Explore powerful validation patterns, custom actions, and complex form scenarios
Real-time validation with multiple rules and custom error messages
Multiple validation layers with domain restrictions
Business rules enforced with multiple number constraints
Country-specific formatting and validation
Strict pattern matching with visual prefix
Simulated async validation (check console for events)
Fill out this form to see advanced validation in action