grooming-poodle.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.
pagespagesOne file per page: the sections it shows, in order.
appointments.tsxpageThe appointment book (#/appointments?day=): one column per groomer from opening to closing. Drag a groom to a new time or groomer (or Space, arrows, Space), tap one to edit it, tap an empty spot to book there; ?new=1 opens the booking form (with &pet= to pick the pet).
board.tsxpageThe day board (#/, the start page): today's pets in four columns, waiting, in the tub, drying and ready. Drag a card, press Space on it and use the arrows, or press its next-step button: the card hops to its new column, and bubbles pop when a groom is ready. Today's arrivals check in above it.
overview.tsxpageOverview (#/overview): today's numbers on tilted pastel tiles (each opens its list), the day's line-up on a dashed wire, the groomer lanes, then who is due back, who is ready to pay and this week's birthdays.
owner.tsxpageAn owner's page (#/owners/<id>?tab=): who they are on a pastel band, then tabs for their pets, their visits and their payments; edit, remove (with their pets) and add a pet.
owners.tsxpageOwners (#/owners?q=): every client with their pets' faces, what they spent and their last groom; search lives in the address. Also the add-or-edit owner dialog.
payments.tsxpagePayments (#/payments?pay=<id>&show=): the checkout line of today's unpaid grooms, a checkout dialog with tip and card-or-cash (confetti when paid), and the payment history with refunds.
pet.tsxpageA pet's page (#/pets/<id>?tab=): its drawn portrait on a pastel band, then tabs for the profile, notes (heads-up notes show on the board), every visit and drawn before-and-after cards.
pets.tsxpagePets (#/pets?size=&coat=&temper=&q=): every pet as a drawn card with its coat, size and mood; the filters live in the address, so Back keeps them. ?new=1 opens Add a pet.
reports.tsxpageReports (#/reports?range=7|30): totals, grooms per groomer as chunky bars, revenue by day as a line that draws itself, the rebooking rate as a donut and the most booked services.
services.tsxpageServices (#/services?service=): a sticker per service, then the picked one's price grid by size and coat; click a price to change it. Also the add-or-edit service dialog.
settings.tsxpageSettings (#/settings): the salon's hours, booking gap and deposit, then Appearance (palette, theme and language).
sign-in.tsxpageThe sign-in page (#/sign-in): a lilac block with a drawn poodle in a tub of bubbles beside the form card, without the masthead.
team.tsxpageTeam (#/team): a card per groomer in their color with the days they work and how busy they are; add, edit and remove (not while they still have grooms booked).
sectionssectionsOne file per page section.
account-menu.tsxsectionThe account menu under the avatar in the top bar: who is signed in, Settings and Sign out; the arrow keys move through it, Escape, Tab or a click outside closes it.
appearance.tsxsectionSettings → Appearance: the palette (each a sticker of its four colors as Memphis shapes), the theme (System, Dark or Light) and the language (System or one of locales/list.ts).
appointment-dialog.tsxsectionBook a groom or edit one: pet, groomer, service, day and start time, with the price for this pet's size and coat; editing can cancel the groom (with Undo).
board-column.tsxsectionA day board column (waiting, in the tub, drying, ready) with its pastel header and live art (bubbles rise in the tub, the dryer's fan turns), and the pet cards in it.
confirm.tsxsectionA small "are you sure?" dialog before something is removed or refunded.
masthead.tsxsectionThe masthead: the poodle mark and name, search, the theme switch and the account menu, a striped salon awning under them, then the pages as soap bubbles in a centered row (a strip that scrolls sideways on narrow screens; the phone menu lists them too).
pet-dialog.tsxsectionAdd a pet or edit one: name, owner, breed, size, coat, temperament, its drawing, birthday and how often it comes back.
sign-in-form.tsxsectionThe sign-in form: email and password with their errors under them, show or hide the password, keep me signed in, and the demo account to fill in; a wrong pair says so above the fields.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
flip.tspartThe flip card style: cards turn up in 3D from their bottom edge.
rowsrowsWhat several sections share.
zigzag.tspartThe zigzag row motion: odd rows slide in from the left, even ones from the right, from faint.
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).
appearance.tspartHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
avatar.tsxpartA person's initials in a round outlined badge, on their pastel (groomers carry their own tone).
backdrop.tsxpartThe backdrop: a few still Memphis shapes (a ring, a triangle, a half-moon, a squiggle, a dot patch and a zigzag) along the edges of the ground, small and sparse, never under the cards' words; with followBackground it paints your background instead.
clock.tspartThe one shared clock for the board's live loops (the tub's bubbles, the dryer's fan): at most 30 redraws a second, only while something on screen uses it, never in a hidden tab, with reduced motion or after Pause.
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page or an action, 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.tspartDrag that feels physical, for the board and the book: pointer events for mouse and pen, a short press for touch (a swipe still scrolls), the card lifts where you grabbed it, tilts and grows a little, the page and its scroll box scroll at the edges, and Escape puts it back.
field.tsxpartA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
format.tspartHow numbers and dates are written: by Intl, the current language's way ("1,240", "1.240"; "Nov 19", "19 nov."). Add a helper here when a page needs money, times or a list.
icons.tsxpartThe logo and the line icons, drawn on a 24-unit grid with round ends.
language.tspartThe app's language: the words every page reads (useWords), how dates and numbers are written (parts/format.ts) and the reading direction. Picked in Settings → Appearance (or System: the page's own language) and kept in this browser; English is built in, any other language loads only when it shows (locales/list.ts).
memphis.tsxpartThe Memphis kit: the squiggle under a title, the drawn shapes (dots, a triangle, a half-moon, a zigzag), each page's pastel header band, the bubble pop when a groom is ready and the confetti for a payment.
moments.tspartThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet and toasts play, timed by their moments in theme.ts.
motion.tspartMotion helpers: the reduced-motion check, live, and run-once-in-view.
palettes.tspartThe Memphis palettes (the same as meta.json's presets): each is four inputs, and theme.ts makes the five pastels from them. Settings → Appearance picks one for this browser.
pet-art.tsxpartA pet's portrait, drawn in Memphis shapes (no photos): a poodle of poms, a pup with drop ears, a fluff ball or a cat, on its own pastel. "before" adds scruffy tufts, "after" a bow and sparkles.
router.tspartThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
scroll-to-view.tspartScrolls an element into view moving only its own scroll container, never the page around it.
search-box.tsxpartA list page's search field: what you type goes into the address (?q=) on Enter or when you leave the field, so Back and shared links keep 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 Keep me signed in lasts only this tab.
sheet.tsxpartThe phone sheet: a modal panel that springs in from the left with the sidebar; Escape, a tap outside or its close button slides it away.
states.tsxpartThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
store.tspartThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
tabs.tsxpartA detail page's tabs as a row of pills in one outlined capsule; each is a link (?tab=), so Back returns to the tab you were on.
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, at the bottom end.
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-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.
account.tsdataThe demo account: who is signed in (the account menu shows them) and the email and password the sign-in page takes.
api-save.tsdataThe fake API's saves: book, move and check in pets, keep pet and owner records, price services, take payments and run the team. Each waits like a network call while Slow network is on; swap a body for a call to your backend.
api.tsdataThe fake API's reads: every page loads through get(key) ("board", "pet:p3", "day:2026-11-27"), so wiring a real backend happens here and in data/api-save.ts only.
net.tsdataThe pretend network under the fake API: a short wait while Slow network is on, and failing loads while Show error state is on. Delete both switches when you wire your backend.
seed.tsdataThe pretend salon: groomers, owners, pets with notes, services with prices by size and coat, six weeks of appointments and their payments. The fake API (data/api.ts, data/api-save.ts) reads and changes `db`; pages never import it.
localeslocalesEvery word the app shows, one JSON file a language; list.ts names them.
en.jsoncontentOne language's words, with the keys of en.json.
es.jsoncontentOne language's words, with the keys of en.json.
list.tscontentThe languages the app offers, in the picker's order: one JSON file each, en.json the source. To remove one, delete its file and its line; to add one, copy es.json, translate it and add a line. English is built in; the rest load only when picked. TypeScript checks each file has en.json's keys, scripts/check-locales.mjs the rest (no extra keys, plural forms, {slots}).
grooming-poodle.tsx
The page: the sections in order.
กำลังโหลด…
เหมาะสำหรับ
Pet grooming salons with 2-6 groomers that want bookings, pet records, checkout and reports in one playful app.
ทำงานอย่างไร
Drag pet cards across the day board from waiting to ready, book grooms on a groomer grid, then take payment with a tip.
วิธีใช้
Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.