Documentation
Resetflow — Password Reset Form
Version 1.0.0 · Vanilla HTML · 9 files · 50 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 9 files:
- LICENSE.txt1.2 KB
- README.md2.4 KB
- assets/css/style.css12 KB
- assets/fonts/karla-LICENSE.txt4.4 KB
- assets/fonts/karla-latin-wght-normal.woff231 KB
- assets/images/favicon.svg362 B
- assets/js/main.js8.4 KB
- documentation/index.html11 KB
- index.html12 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--color-canvas#fdf2f8--color-surface#ffffff--color-ink#1e1b2e--color-text#4b4763--color-muted#6b6784--color-line#f3e1ee--color-line-strong#dccbd8--color-brand#c026d3--color-brand-dark#a21caf--color-brand-deep#701a75--color-brand-soft#fae8ff--color-danger#be123c--color-danger-soft#fff1f2--color-ok#15803d
Interactive features
Step flow
go(n) in assets/js/main.js shows step n and updates the indicator. Add a step by adding a section with data-step and a data-step-item in the indicator, and update TOTAL_STEPS.
Request form
Replace the timeout in initRequest() with a call to your endpoint that emails a reset link. Keep the confirmation neutral so you do not reveal which addresses exist.
Demo continue button
In production, load the page with a token from the emailed link, jump straight to go(3), and delete the .demo block in step 2.
Password policy
Edit the RULES object in main.js and the matching list items (data-rule attributes). Rules marked required block submit.
Customisation notes
Brand colour
Change --color-brand, --color-brand-dark, --color-brand-deep and --color-brand-soft in :root. The illustrations use the same fuchsia as inline fill and stroke values in index.html.
Background blobs
Two blurred circles (.blob--a and .blob--b) provide the blush glow; adjust their size and colour or delete them for a flat background.
Link lifetime copy
The 30 minutes and only once wording in step 2 is plain text in index.html; match it to your server settings.
What is front-end only
This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.
- No email is sent, no password is changed or stored and no real authentication happens; every step is simulated with a short timeout.
- The Open the demo reset link button stands in for the link a real email would contain.
- Help, privacy and sign-in links point to example.com placeholders.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Karla typeface — OFL-1.1 (
assets/fonts/karla-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.