Lapse
File transfer app page template ยท Software and web
Brutalist minimal: raw white and black, 2px rules that show the grid, Geist set in three sizes with Geist Mono for every number, no decoration, and one warning yellow kept for the moment a link dies.
The first screen is the send tool under a live headline: "Send it. Gone by" and the date your chosen expiry lands on, set on yellow tape that sweeps across when you change it. Drop files anywhere on the page or pick them from disk. They are read in the tab and never uploaded; the table lists each file's name, type and size, and a ruled meter shows the total against the 2 GB Free limit, hatching the overflow and flagging the file that crossed it.
Choose when the link dies (1 hour, 1 day, 7 days, or 30 days with a Heavy key), how many downloads it allows and an optional password with inline checks. Sending runs a simulated encrypt-and-upload with progress and a log, then returns a link with its key after the #, a QR code drawn in SVG by a real encoder, copy, a live countdown, the download count and a button that skips to expiry. The lifeline ruler below draws the link's life to scale, with the hatched time after it is erased.
The recipient window shows what the other person sees: a password lock where wrong tries count down to erasure, downloads that hand back your own files and count when every file is done, and the expired and used-up screens with a deletion receipt. Then what the service keeps and for how long, plans sold as keys rather than accounts with a monthly and yearly switch, the release log with dates, questions and a footer. Everything is HTML, CSS and SVG.
The brand is fictional: Lapse, a file transfer service from Leeds with no accounts and links that die on schedule. Names, people and figures on the page are invented.
What works
- Drop files anywhere on the page or pick them; remove any file; three sample files on one click
- Size meter against the limit, with the over-limit file flagged and a specific too-large error
- Preview Heavy limits: lifts the limit to 100 GB and unlocks the 30-day expiry
- Expiry, download limit and password settings; the headline, hint and lifeline ruler follow
- Password show and hide, inline validation for length and stray spaces
- Send: validation, simulated progress with a log, cancel
- Sent: link with copy (and a select fallback), SVG QR code, live countdown, skip to expiry, send something else
- Recipient: unlock with the password, wrong-password attempts, downloads that return the visitor's own files and count
- Recipient demo switch: live, expired and used-up links
- Pricing period switch and plan buttons; questions accordion
States you can link to
script.js reads these from the URL, so you can open the page in a given state to review it, screenshot it or show it to an agent.
| Parameter | What it does |
|---|---|
?state=files | three sample files in the send table. Open ?state=files |
?state=toolarge | a 2.16 GB video pushes the transfer over the Free limit: flagged row, hatched meter, error. Open ?state=toolarge |
?state=sending | the simulated transfer running with progress and log. Open ?state=sending |
?state=sent | the finished link with QR code, countdown and password set. Open ?state=sent |
?state=wrongpass | the recipient window after two wrong passwords. Open ?state=wrongpass |
?state=expired | the recipient window on an expired link with its deletion receipt. Open ?state=expired |
?state=burned | the recipient window after all downloads were used. Open ?state=burned |
?expiry=1h | opens with a 1-hour expiry (also 1d, 7d, 30d; 30d turns on the Heavy preview). Open ?expiry=1h |
?billing=yearly | pricing shows yearly prices. Open ?billing=yearly |
Use it
Copy templates/handoff/ into your project, or download the zip, which has the Screenery badge script already removed. Colours, type, spacing and radii are custom properties at the top of style.css. This template loads no libraries: only its own files and web fonts.
The docs explain the token pattern and how to move a template into React, Vue, Svelte or Astro. The guide has prompts for handing it to a coding agent.