A hair salon and spa front desk in twelve pages: a stylist-by-hour book you drag bookings across, a live chair row, checkout with tips and gift cards, client color formulas, staff commissions and stock, in cream and camellia over a drawn branch.
Web
13 pages
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Clair et sombreUtilise les couleurs de votre thème
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec cette application ? Envoyer un avis ›
salon-camelliaReact
salon-camellia.tsxpageThe page: the sections in order.
content.tscontentEvery word and number: brand, nav links, each section's copy and lists.
theme.tsthemeThe colors as CSS variables, and the shared class strings.
README.mdreadmeHow to install it, and where to change the text, colors and form.
content-admin.tspartThe words of Reports, Settings and the sign-in screen.
content-book.tspartThe words of the appointment book: the day's book (Calendar), the booking list, one booking's page, and the waitlist.
content-home.tspartThe words of Overview: today's numbers, the day at a glance, takings, who is next, and what needs the desk.
content-menu.tspartThe words of the service menu and the retail shelf (stock).
content-people.tspartThe words of the client book (list and client card with formulas, notes and looks) and of the team.
content-till.tspartThe words of the till (Checkout: open tickets, a ticket, payment, receipt, refunds, sales) and of gift cards.
pagespagesOne file per page: the sections it shows, in order.
bookings.tsxpageBookings: the list of every booking (#/bookings), or one booking's own page (#/bookings/<id>).
calendar.tsxpageThe book: a day of stylist columns by the hour, the day switch, a stylist filter, the waitlist rail and New booking.
checkout.tsxpageCheckout, a till: today's takings by method, tips, refunds and last sales over the open tickets, with the picked one (?ticket=<id>, the first by default) open beside them to ring up; the day's sales (?tab=sales); or one ticket on its own page (#/checkout/<id>).
clients.tsxpageClients: the client book (#/clients) with Add client, or one client's card (#/clients/<id>) with its tabs: profile, formulas, visits, notes, looks and purchases.
gift-cards.tsxpageGift cards: every card with what the salon owes on them (#/gift-cards) and Sell a gift card, or one card (#/gift-cards/<code>) to redeem or void.
home.tsxpageOverview: today's numbers, the day at a glance with two weeks of takings, the desk row (up next, waitlist, low stock, gift cards), then top services and the team.
products.tsxpageStock: the retail shelf (#/products) with New product, or one product (#/products/<id>) with its stock moves.
reports.tsxpageReports for 7 days, 4 weeks or 12 weeks: the numbers against the period before, takings by day, services by category, how clients paid, the commission payout and the top clients.
services.tsxpageServices: the menu as a board of categories you reorder by drag or keyboard, search and a stylist filter, the categories, and New service.
settings.tsxpageSettings: the salon's details and hours, booking rules, the till, appearance (style, theme, colors) and your profile; salon edits are a draft with Save and Discard.
sign-in.tsxpageThe sign-in screen in the salon's own look: the logo and a line from the desk over the drawn camellia, and the form (email, password with show and hide, keep me signed in, forgot password).
staff.tsxpageTeam: everyone's card with this pay period (#/staff) and Add team member, or one person's page (#/staff/<id>): overview, hours and time off, commission, details.
waitlist.tsxpageWaitlist: who wants a slot, by day, with search and a waiting or booked filter; book them into the first free slot, place them on the book, edit or remove (with Undo), and Add to waitlist.
sectionssectionsOne file per page section.
account-menu.tsxsectionThe account menu under the avatar: who is signed in, Profile, Settings, the theme and Sign out; the arrow keys move through it, Escape or a click outside closes it.
appearance.tsxsectionSettings → Appearance: the style (Glass or Solid) and the theme (System, Dark or Light), each choice shown as a small preview.
book-block.tsxsectionOne booking on the book: a block as tall as its time, the client, service and hours, its color's processing time hatched, a status edge, and a bottom edge to stretch.
booking-detail.tsxsectionOne booking's page: who, what and when with its status and next step, then tabs for its details (editable), the client card, the payment and its history.
booking-edit.tsxsectionThe booking page's Details tab: service, stylist, day, start, length, price and note, saved with an Undo.
booking-popover.tsxsectionA booking's quick actions, anchored to it on the book: check in, start, finish, go to checkout, move to another stylist or time, no-show or cancel (with the fee, or waived), and a link to its own page.
booking-tabs.tsxsectionThe booking page's tabs: its details to edit (with Undo), the client card with the latest formula and other visits, the ticket and payments, and what happened when.
bookings-list.tsxsectionEvery booking as a list: search, when (a day, today, the next week, the past month), status and stylist filters, sorting, and bulk reminders or cancels.
category-bar.tsxsectionThe menu's categories as chips: each with its count, renamed in place or deleted when empty, and a new one added.
client-form.tsxsectionAdd or edit a client: name, phone, email, birthday, usual stylist, tags and marketing consent, each field checked with its own error.
client-formulas.tsxsectionThe client card's color formulas: each with its result swatch, zones, who mixed it and when, edited or deleted (Undo), and a new one started blank or from the latest.
client-head.tsxsectionThe client card's head: the drawn portrait, name and tags, Book, Edit and Delete (behind a check, with Undo), and the numbers that matter at the desk.
client-pick.tsxsectionThe client field of a booking form: type a name or phone, pick from the matches, or keep typing to add a new client.
client-tabs.tsxsectionThe client card's other tabs: profile (contact, usual stylist, consent, pinned notes, latest look), visits, notes (add, pin, delete with Undo), drawn looks before and after, and tickets with gift cards.
clients-list.tsxsectionThe client book as a list: search, stylist, tag and last-visit filters, sorting, and bulk tagging or deleting (with Undo).
date-bar.tsxsectionThe book's day switch: the day before and after, Today, and the date itself opening a month calendar to jump to any day.
day-book.tsxsectionThe day's book: the stylist columns with every booking you can drag, stretch or pick up from the keyboard, the waitlist rail you drag from, a booking's quick actions, and the lifted card that follows the pointer.
day-columns.tsxsectionThe book's grid: a column per stylist (their hours lit, the rest hatched), the hours down the side, quarter-hour lines, the bookings in lanes, the now line, and where a held booking will land.
day-glance.tsxsectionThe day at a glance: every chair as one line from open to close, each booking a bar in its status color, processing time hatched, and the now line; a bar opens its booking.
formula-editor.tsxsectionThe color formula editor: the service, each zone's mix, developer and minutes, how it went, and the result shade, with a live drawn preview and checks before it saves (Undo after).
formula-parts.tsxsectionThe formula editor's pieces: one zone's row (name, mix, developer, minutes), the live drawn preview, and the result shade picker.
gift-detail.tsxsectionOne gift card: the drawn card, its balance, who bought it for whom and the message; redeem part of it, void it with a reason, and every balance move.
gift-list.tsxsectionGift cards as a list: what the salon owes on them, search, status filter, sorting, and bulk balance reminders.
gift-sell.tsxsectionSell a gift card: an amount (or another), one of three drawn designs, who buys it and who it is for, a message and how it is paid, with the card drawn live as you type.
home-kpis.tsxsectionOverview's first row: today's takings, bookings, chairs in use, the average ticket and retail attach, each against last Saturday and each opening the list behind it.
home-lists.tsxsectionOverview's desk row: who is up next, who is waiting for today, what is running low on the shelf, and the gift card balance the salon owes.
home-rank.tsxsectionOverview's last rows: two weeks of takings by day (services, retail, tips), the top services by takings, and the team's service takings this pay period.
masthead.tsxsectionThe masthead: the camellia logo and name, today's date and the desk clock, search, New booking, the theme switch and the account menu.
new-booking.tsxsectionNew booking: find a client (or add one by name and phone), the service, the stylist and a start time marked free or taken, with a note; it lands on the book.
product-detail.tsxsectionOne product: its numbers, a stock move (received, count fix, damaged, salon use) and every move so far; plus the add or edit form with the margin worked out live.
product-form.tsxsectionAdd or edit a product: name, brand, category, SKU, shelf price, cost, stock and reorder level, with the margin worked out live.
product-list.tsxsectionThe retail shelf as a list: stock value, search, category and stock filters, sorting, and bulk reorder or delete (with Undo).
report-panels.tsxsectionReports' panels: the range's numbers against the period before, takings by day, services by category, how clients paid, the commission payout and the top clients.
service-board.tsxsectionThe menu as a board: a column per category, a card per service (price, length with its processing, who books it, online, what is coming up); drag or use the keyboard to reorder or move a service to another category, with Undo.
service-form.tsxsectionAdd or edit a service: name, category, price, length, processing time (shown live as it will sit on the book), who books it, online booking and a description; delete with Undo.
service-parts.tsxsectionThe service form's pieces: the processing window's start and length, and the service drawn as it will sit on the book.
settings-forms.tsxsectionSettings' salon forms: the salon's details and opening hours, the booking rules (online booking, deposit, cancellation and no-show fees, buffer, reminders) and the till (sales tax, tip presets).
staff-cards.tsxsectionThe team as cards: each person's title, today's bookings and this pay period's services, retail, commission, tips and rebook rate; inactive people shown faded.
staff-details.tsxsectionA team member's details (name, title, access, phone, email, the services they book) for adding someone new or editing, and deactivating or bringing them back.
staff-hours.tsxsectionA team member's weekly hours (each day on or off, from and to) and their time off (added with how many bookings it touches, or removed).
staff-pay.tsxsectionA team member's pay: commission rates on services and retail, with this period's statement worked out live at the rates being typed; and their overview: takings and commission by day, and what is coming up.
station-row.tsxsectionThe station row: one chair per stylist working today, each with who is in it, a ring for how far the service has run, and when the chair is free; a chair opens that stylist's day on the book.
swatch-strip.tsxsectionThe page links as a hair-color swatch strip: each page a slim swatch tab hanging from the rail (its color tip, its name, a count badge), the current one slid out longer in the primary.
ticket-adjust.tsxsectionAn open ticket's discount (an amount or a percent off the services) and tip (the salon's presets of the services, a custom amount or none).
ticket-lines.tsxsectionAn open ticket's lines: each service with its stylist and each product with its quantity, taken off with Undo, and products or services added from the shelf and the menu.
ticket-pay.tsxsectionAn open ticket's totals and payment: one or more payments (card, cash or a gift card checked for its balance), what is still due, Charge, and Void.
ticket-receipt.tsxsectionA closed ticket's receipt: what was sold, the totals, how it was paid and any refunds, with Refund (pick lines and how many, give a reason), Rebook and Email receipt.
ticket-totals.tsxsectionA ticket's totals: services, retail, gift cards, the discount, sales tax and the tip, the total, and what was refunded.
ticket-view.tsxsectionOne ticket: while open its lines, retail, discount and tip with live totals and the payment; once paid its receipt and refunds. Shown inside the till beside the open tickets, or on its own page with Back.
till-cards.tsxsectionToday at the till, four cards: takings by payment method, tips by stylist, the day's refunds and the last sales.
till-open.tsxsectionThe till's open tickets (who, what, what is due) to pick one from, and the walk-in sale that starts a ticket with no booking.
till-sales.tsxsectionThe till's sales: paid and refunded tickets for a day or range, paid-by and search filters, the takings they add up to, sorting and a bulk export.
wait-form.tsxsectionAdd someone to the waitlist or edit their entry: client, service, stylist (or anyone), the day and the window they can come in, and a note.
wait-rail.tsxsectionThe waitlist beside the book: who is waiting for this day, each card dragged onto a slot (or booked into the first free one).
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
sheen.tspartThe sheen card style: cards rise, plus one soft light sweep across each card as it lands.
rowsrowsWhat several sections share.
cols.tspartThe cols row motion, a column wave: the parts of each row on screen (its children) arrive left to right, 35ms apart.
core.tsxpartThe page's build-in: on first load and on every page switch the cards arrive in the app's card style and their contents build: bars grow, lines draw, rings fill, the list rows on screen ripple in in the app's row motion, numbers count. The two picks are wired in ./index.ts.
index.tspartThe app's two build-in picks, wired here and nowhere else: its card style (cards/) and its row motion (rows/). npm run new-app copies only the two it is given (--cards, --rows).
animations.tspartThe animation variables the classes read (motion-safe:animate-(--…)).
appearance.tspartHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
backdrop.tsxpartThe drawn backdrop: one fixed layer behind the whole app, a camellia branch in fine line (open blooms, buds, glossy leaves) under a soft petal light, masked faint under the content; fainter on Solid.
bits.tsxpartSmall shared pieces: a titled panel, the data-state switch, initials avatars, a status chip, a segmented switch, tabs and a checkbox.
board-model.tspartA board as data: every card's place (one order) and column, and how a move changes them.
board.tsxpartA board of columns and cards: drag a card (mouse, pen or a short press on touch) with a lift and a gap where it will land, or pick it up with Space and move it with the arrow keys; the other cards glide out of the way.
book-drag.tspartThe book's drag engine: move a booking to another time or stylist, stretch its bottom edge to change its length, or drop a waitlist card onto a slot; mouse and pen at once, touch after a short press, with a lift that keeps the grabbed point under the pointer, auto-scroll near the edges, and a settle into the slot (or back home on Escape or a taken slot).
bulk-bar.tsxpartThe bar that floats over a list while rows are ticked: how many, the bulk actions, and Clear.
clock.tspartThe front desk's one clock: the minute the pretend day stands at, ticking on from 11:20 AM while the app is open and pausing while the tab is hidden.
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page, an action, a client or one of today's bookings, then Enter.
dialog.tsxpartA centered modal dialog (a form, a confirm): rises in, plays its way out, Escape or a tap outside closes it, and the focus goes back where it was.
drag-board.tspartThe board's drag engine: mouse, pen and touch drags with a lift, a gap where the card will land, auto-scroll near the edges, and a drop or Escape that settles the card into place.
field.tsxpartA labeled form field with its error line under it, tied together for screen readers.
flip.tspartFLIP: when cards change place, each one glides from where it was to where it is now instead of jumping.
format.tspartHow numbers, money, times and dates are written: US style, in one place.
gift-art.tsxpartThe drawn gift card: three designs (Bloom, Leaf, Ribbon) in the brand colors, with the amount, who it is for and the code.
icons.tsxpartThe camellia logo and the line icons, drawn on a 24-unit grid with round ends.
keyboard-move.tspartMoving a board card with the keyboard: Space picks it up, the arrow keys move it, Space or Enter drops it, Escape puts it back; each step is read out.
lanes.tspartThe book's geometry: pixels per minute, the hours a day shows, quarter-hour snapping, bookings set inside a color's processing time, and side-by-side lanes for the ones that truly overlap.
list-head.tsxpartThe list table's header row: the select-all box and each column's sort button, the sorted one marked.
list-table.tsxpartA list table: columns that sort (aria-sort), a checkbox per row for bulk actions, still skeleton rows while loading, rows you move through with the arrow keys and open with Enter or a click, and Show more for long lists.
month-calendar.tsxpartA month calendar: six weeks from Monday, the previous and next month, today and the picked day marked, a slot under each day for marks, and the keyboard of a date grid (arrows, Home, End, Page Up, Page Down).
motion.tspartMotion helpers: the reduced-motion check, live, and run-once-in-view.
popover.tsxpartA small panel anchored to what opened it (a booking on the book, a row's More): placed beside it where it fits, Escape or a click outside closes it, and the focus goes back.
portrait.tsxpartA drawn head-and-shoulders portrait for a client card: the hair drawn by its length, style and color (from a look or a formula's result), a skin tone from the name, in fine line over a soft round.
router.tspartThe page switcher: reads the app's page from the address hash (#/calendar?day=2026-11-22, #/bookings/b0042), and which way the swatch strip moved.
scroll-to-view.tspartScrolls an element into view moving only its own scroll container, never the page around it.
select-box.tsxpartA native select dressed to match the app: no browser arrow, a drawn chevron instead.
session.tspartWhether someone is signed in: a first visit is signed in as the demo account; Sign out holds until the next sign-in, and a sign-in without Remember me lasts only this browser session.
stack-chart.tsxpartA stacked bar chart: one bar per day, each split into its series (services, retail, tips) in the chart shades; point at a bar, slide a finger across, or use the arrow keys to read its numbers.
states.tsxpartThe data states every page shares: a calm skeleton while loading, an error with Try again (a drawn comb and open scissors), and an empty note with a drawn mirror and a way out.
store.tspartThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
ticker.tsxpartA number that counts up while its page builds in, and rolls to its new value whenever it changes.
toasts.tsxpartThe toasts: short notes that confirm what just happened, bottom right.
use-api.tspartLoads data through the fake API with loading, error and retry, remembering each answer so a page you come back to shows at once.
use-booking-form.tspartThe new booking form's state: the client (picked or new), service, stylist, day and time with each time marked free or taken, and the save.
use-day-moves.tspartThe book's saves: a drop or a stretch shows at once (an optimistic change over the loaded day), is saved through the API with an Undo toast, and is put back with a note if the save fails; plus the keyboard path that moves a booking with the arrow keys.
use-dialog.tspartOpens and closes a native <dialog> as a modal; on close it plays its way out first (data-closing), so dialogs, sheets and the palette never vanish in one frame.
datadataThe pretend data and the fake API: swap it for your backend.
api-book.tsdataThe fake API for the appointment book: a day's columns, the booking list, one booking, and every booking change (create, move, resize, change stylist, status, cancel, no-show).
api-gift.tsdataThe fake API for gift cards: the list, one card, selling (rung up as a paid ticket), redeeming part or all of a balance, and voiding.
api-menu.tsdataThe fake API for the service menu, the retail shelf and the salon's settings: create, edit, reorder and delete services and categories, products and stock moves.
api-people.tsdataThe fake API for clients: the client book with visit numbers, one client's card, and every edit (details, tags, notes, color formulas, deleting).
api-reports.tsdataThe fake API for the numbers: today's desk for Overview and the reports for a range (takings by day and type, commissions, no-shows, rebooking, top clients).
api-staff.tsdataThe fake API for the team: each person with this pay period's takings and commission, one person's page, and every edit (details, hours, time off, commission rates, deactivating).
api-till.tsdataThe fake API for the till: open tickets, ringing up services and retail with tips and discounts, split payments, gift card payments, refunds and voids.
api-wait.tsdataThe fake API for the waitlist: who wants a slot, add, edit, remove, and booking one onto the book.
api.tsdataThe fake API in one place: every page loads and saves through the functions exported here (from data/api-*.ts), so wiring a real backend happens in data/ only.
dates.tsdataThe salon's calendar: today's date, the time the day stands at, and date math on ISO days ("2026-11-21").
db.tsdataThe fake backend's store and its network: the pretend data every API module reads and changes, and the waits and failures the demo switches turn on.
rules.tsdataThe salon's rules, used by the fake API and the pages alike: when a stylist is busy, what a ticket adds up to, what a commission is, when stock runs low.
seed-book.tsdataThe pretend appointment book: twelve weeks of past visits paid at the till, today's book around the open clock, three weeks ahead, gift cards and the waitlist.
seed-menu.tsdataThe pretend service menu, retail shelf and salon settings.
seed-people.tsdataThe pretend client book: a few hundred clients with notes, color formulas and drawn looks.
seed-staff.tsdataThe pretend team: six people behind the chairs, their hours, time off and commission rates.
types.tsdataThe shapes of the salon's data: staff, the service menu, clients, bookings, tickets, products, gift cards and the waitlist.
salon-camellia.tsx
The page: the sections in order.
Chargement…
Idéal pour
Hair salons, barbers and day spas that book stylists by the hour, keep color formulas and run a till with tips and retail.
Fonctionnement
Drag bookings across stylists and hours, check clients in, ring them up with tips, retail and gift cards, and watch takings and commissions roll in.
Utilisation
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api-*.ts for calls to your backend.
Aucun paquet en plusReact seulement, rien d’autre
179,4 ko gzippé · 136 fichiersLe téléchargement complet