Bundles save up to 25%. See every bundle

Code Boss
Dark

Full screen

What it does

A password input whose background fills from the bottom with a gently moving liquid. The colour changes from red to orange to yellow to green as the password gets stronger. A strong password fills it to the top.

Good for
Sign-up forms, account settings, password reset pages.
How it works
As you type, each password gets a score from 1 to 4. The liquid rises to that level with a slosh, and a short hint tells you what would make it stronger.
How to use
Copy two files, paste the markup, call initAll(). You can plug in your own scorer, such as zxcvbn.

Specs

Price
$5, one payment
Version
1.0.0
Code size
2.8 KB gzipped
Dependencies
None
Built with
HTML, CSS, JavaScript
Category
Form
Licence
Unlimited personal and client projects
In the zip
  • steep.css steep.jsthe component and a built-in scorer
  • index.htmla plain example page
  • README.md package.json vite.config.js LICENSE.md

Use it in your project

  1. Copy steep.css and steep.js into your project.
  2. Add the markup from index.html (the block between the COMPONENT comments).
  3. Start it:
import { init, initAll } from './steep.js';
initAll();

Questions

What exactly do I get?

The full source, a demo page and a README. No account, no framework.

Can I use it in client projects?

Yes, in unlimited projects. You can't resell or share the source itself.

Is the built-in check secure?

It's a quick in-browser heuristic for feedback. Always check passwords on your server too, or plug in zxcvbn (the README shows how).

Is it accessible?

It's a real labelled input. The strength text is announced politely, and the show/hide button uses aria-pressed.

What if it doesn't work for me?

If it doesn't work like the demo, you get a refund within 14 days.

Still have a question? Email us. The person who made it answers.

Your cart

Your cart is empty. Browse components

Full screen