StealThis .dev

Salon — Client Notes

A luxe client-notes panel for a boutique salon stylist. A profile header pairs an initialed avatar with name, VIP status and live visit count, while a red-flagged callout keeps allergies and sensitivities impossible to miss. Removable preference chips capture quick cues, a product-history list tracks formulas and home care, and a timestamped notes timeline prepends each new entry newest-first. Everything updates in memory with live counts and a gold toast on every save.

Відкрити в Lab
html css vanilla-js
Цілі: JS HTML

Код

Client Notes

The working file a Maison Lumière stylist opens before every appointment. A serif client name sits beside an initialed rose-gold avatar, a VIP pill and a live visit count, so the relationship is legible at a glance. Directly beneath, a red-bordered callout holds allergies and sensitivities — patch-test flags, fragrance triggers, scalp notes — given the prominence safety deserves.

Preferences live as soft rose chips you can grow or trim: type a cue and it pops into place, tap the × to remove one, and a live counter and toast confirm every change while gently blocking duplicates. A product-history list pairs colored swatches with formulas and home-care lines, and the notes timeline prepends each saved entry with a fresh timestamp, newest-first, along a thin gold thread.

Built in vanilla JavaScript with no dependencies: delegated chip handling, accessible labels and aria-live counts, a reusable toast() helper, and a rose-gold-on-cream palette set in Cormorant Garamond and Inter. Fully responsive down to 360px.