A small perfume house's studio and shop in eight pages, with amber liquid in glass flacons for navigation, a scent pyramid that fills as you build a formula, live maceration timers, stock, orders and customers' scent profiles.
Web
8 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 ›
perfume-vetiverReact
perfume-vetiver.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.
batch.tsxpageOne batch's own page (#/batches/<id>): its lot, the live rest ring and stage steps, then the tabs Overview, Bottling, Quality and Lot label.
batches.tsxpageBatches (#/batches): what is in the lab, as a board by stage (drag a lot to move it, Undo puts it back) or a list with search, filters, sort and bulk moves. #/batches/<id> is one batch's own page.
customer.tsxpageOne customer's own page (#/customers/<id>): who they are and what they spent, then the tabs Scent profile (the wheel, the notes they love and avoid, the formulas they would love and Send samples) and Orders.
customers.tsxpageCustomers (#/customers): the people who wear the house, searchable and filtered by tag, country and how far they got from samples to sales, with bulk delete and Export CSV. #/customers/<id> is one customer's own page.
formula.tsxpageOne formula's own page (#/formulas/<id>): its name, status and actions, then the tabs Builder, Versions, Cost & IFRA, Bottles and Batches (?tab=).
formulas.tsxpageFormulas (#/formulas): every perfume the house makes, searchable, filtered by status and strength, sortable, with a small pyramid strip per row and bulk status and delete. #/formulas/<id> is one formula's own page.
material.tsxpageOne material's own page (#/materials/<id>): its facts and stock over 12 weeks, every movement, the formulas that use it, and Adjust stock, Edit, Archive and Delete.
materials.tsxpageMaterials (#/materials): the perfumer's organ, searchable and filtered by stock, family, layer and supplier, with bulk reorder and archive; the On order tab lists purchase orders to receive. #/materials/<id> is one material's own page.
order.tsxpageOne order's own page (#/orders/<id>): its timeline with the next step, the lines and total, the carrier and tracking to edit, a packing slip to print, and Cancel.
orders.tsxpageOrders & samples (#/orders): every order and sample set, by tab, searchable and filtered by status, carrier and date, with bulk Mark as and Export CSV. #/orders/<id> is one order's own page.
overview.tsxpageOverview (#/): the atelier at a glance. Four tiles, the formula on the bench as its pyramid, the batches resting, the best sellers, the shipping line, samples turning into sales and what to reorder; every number opens the list it counts.
settings.tsxpageThe settings page: Appearance (style, theme and language) and The house (its name, the defaults new formulas, batches and orders start from).
sign-in.tsxpageThe sign-in page (#/sign-in): a tall flacon of amber and the house's line on what a perfume is beside the form, without the shelf and top bar; on a phone the form comes alone.
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.
adjust-stock.tsxsectionAdjust stock: a dialog to receive, write off or count a material, with the grams and a note; the change shows in Movements.
appearance.tsxsectionSettings → Appearance: the style (Glass or Solid) and the theme (System, Dark or Light), each choice shown as a small preview, and the language (System or one of locales/list.ts).
batch-form.tsxsectionStart a batch: pick a formula, the litres and the days to rest; what it weighs out shows live, any material short in red, and starting takes it off the shelf.
batch-tabs.tsxsectionA batch's working tabs: bottling it into sizes (the volume it takes shown against what the batch holds), its quality notes, and the lot label to print.
builder-parts.tsxsectionThe builder's pieces: one note card (name, IFRA warning, remove, share slider), the side panel with the live pyramid, the total and the Undo / Save version actions, and the Save version dialog.
builder.tsxsectionThe formula builder: the notes as cards in three layer columns (drag one to another layer, or Space and the arrow keys), a slider per note, the live pyramid beside them, Undo, Scale to 100% and Save version. The draft survives a tab switch for the visit.
customer-form.tsxsectionA customer's form, new or edit: name, email, city, country, tags and a memo.
customer-profile.tsxsectionA customer's Profile tab: the scent wheel, the loved and avoided notes, the formulas that suit them best and their memo.
formula-edit.tsxsectionEdit a formula's details: name, perfumer, strength and the story on its page.
formula-new.tsxsectionNew formula: a name and a strength; the builder opens on it.
formula-tabs.tsxsectionA formula's other tabs: its versions with a diff between any two, the cost and IFRA check of each note, the bottle prices and stock, and the batches made of it.
formula-versions.tsxsectionA formula's Versions tab: every saved version with its note, and a side-by-side diff of any two (added, removed and changed shares); Restore puts an old one back on the bench.
material-form.tsxsectionA material's form, new or edit: name, family, usual layer, CAS, supplier, stock, reorder level, cost and IFRA limit.
material-tabs.tsxsectionA material's tabs: Stock (twelve weeks of stock as bars, the facts and Adjust), Movements (every receipt, use and count) and Formulas (the ones that use it).
note-picker.tsxsectionAdding a note: a dialog over the builder with a search box and the organ's materials, the ones that usually sit in the chosen layer first. Picking one pours it into the pyramid.
order-form.tsxsectionA new order or sample set: the customer, the kind, its lines (formula, size, quantity; a sample set takes 2 ml vials) and the carrier. Placing it takes the bottles off the shelf.
order-parts.tsxsectionOne order's parts: the shipping timeline, the lines with their total, the shipping form (carrier, tracking, address) and the packing slip.
overview-cards.tsxsectionOverview's cards below the tiles: the live maceration timers, the best sellers, the shipping line, samples turning into sales and the materials to reorder. Each row opens the record or the filtered list it counts.
purchases.tsxsectionThe On order tab: every purchase order, its material, supplier, grams and date, with Receive putting the grams on the shelf.
reorder-card.tsxsectionOverview's Reorder card: the materials at or under their reorder level, with Reorder on each.
scent-wheel.tsxsectionA customer's scent profile as a wheel: one slice per family that reaches further out the more they like it. Each slice is a slider: click to like it more (it wraps round), the arrow keys move it either way.
shelf.tsxsectionThe navigation: a glass shelf of flacons, one per page. The open page's bottle fills with amber and the brass tag under the shelf glides to it; hovering tips a bottle. In the top bar on wide screens, a dock at the bottom on narrow ones.
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.
stage-board.tsxsectionThe batches board: one column per stage, a card per lot with its maceration timer. Dragging a lot (or Space and the arrow keys) moves it to that stage; Undo puts it back.
top-bar.tsxsectionThe top bar: the house mark, the shelf of flacons on wide screens, the formula on the bench, search, the theme switch and the account menu.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
wipe.tspartThe wipe card style: each card uncovers from its bottom edge.
rowsrowsWhat several sections share.
rise.tspartThe rise row motion: each row on screen rises 8px 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 badge, tinted with the primary.
backdrop.tsxpartThe Glass style's backdrop: what shows through the see-through panels, faded out in Solid. Two soft lights, the perfumer's organ (tiers of little bottles in an arc) at the end and vetiver grass with its long roots at the start, drawn in fine lines; with followBackground it paints your background instead. It stands still.
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.
bottles.tsxpartThe shelf's flacons, one shape per page: a stopper or cap and a body that holds liquid. The outline is a line drawing that follows the icon settings; the liquid fills when its page is open.
bulk-bar.tsxpartThe bar that rises over a list once rows are picked: how many, the actions for all of them, and a way to drop the pick.
clock.tspartThe demo's clock: time starts at the demo's "now" (data/batches.ts) and moves on once a second while a timer is on screen, the tab is visible and live isn't paused.
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
confirm.tsxpartA guarded action's second step: a small dialog that says what will happen, with Cancel and the action in red.
csv.tspartExport CSV: turns rows into a CSV file and hands it to the browser to save.
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 (a text input or a select) with its error line under it, tied together for screen readers.
filters.tsxpartA list's search and filters, all kept in the address: a search box, a select per filter, the active ones as chips that remove themselves, and Clear filters.
flip.tspartFLIP: when cards change place, each one glides from where it was to where it is now instead of jumping.
format.tspartHow numbers and dates are written: by Intl, the current language's way ("1,240 g", "1.240 g"; "Nov 19", "19 nov."), money in euros.
gauge.tsxpartA material's stock gauge: how full the shelf is against twice the reorder level, coloured by out, low or ok, with the grams beside it.
icons.tsxpartThe logo and the line icons, drawn on a 24-unit grid; every stroke follows the icon settings (theme.ts, your Icon Studio).
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.
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).
list-bits.tsxpartWhat every list page shares around its table: the words for the filter and bulk bars, Export CSV, the bulk Delete with its confirm, the skeleton while it loads, and the empty note with a way out of the filters.
list-view.tspartWhat a list does with its rows, whatever it looks like: the sort kept in the address (?sort=name&dir=asc), picked rows with shift-click ranges, pick all shown, and Show more.
live-clock.tsxpartOne shared clock for everything live: it ticks only while something on screen listens, the tab is visible and live isn't paused, and the bare button that pauses it. What a tick does (move the demo's time, bring in an event, reload) is the app's, passed to liveClock.
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.
popover.tsxpartA menu that unfolds from its button (a row's actions, the alerts, a sort pick): drawn in the window layer so no table or card clips it; arrow keys walk it, Escape, Tab, a click outside or a scroll folds it away, and it plays its way out unless motion is reduced.
pyramid.tsxpartThe scent pyramid: three glass chambers (top, heart, base) holding each note as a band of liquid in its family's color; levels ease as shares change, and a new note pours in as a drop before its band rises and settles.
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.
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.
table.tsxpartA list's table: sortable headers kept in the address, a check box per row with shift-click ranges, rows that open their own page, and Show more. On narrow screens the columns marked `wide` hide.
ticker.tsxpartA number that counts up while its page builds in, and rolls to its new value whenever it changes.
timer-ring.tsxpartA batch's maceration as a ring that closes as the rest runs out, the countdown inside when it is big.
toasts.tsxpartThe toasts: short notes that confirm what just happened, at the bottom end.
ui.tsxpartThe small pieces every page shares: a page's head, its tabs, the way back to a list, a status chip, a card's title row and a row of facts.
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-batches.tsdataThe batches API: start a batch from a formula (its stock weighed out), move it through the stages, note QC and bottle it.
api-lab.tsdataThe lab's API: formulas and their versions, raw materials and their stock; batches are in api-batches.ts.
api-shop.tsdataThe shop's API: orders and sample sets with their ship status, customers and their scent profiles, and the house settings.
api.tsdataThe fake API every page loads and saves through, so wiring a real backend happens in data/ only: the lab (api-lab.ts, api-batches.ts) and the shop (api-shop.ts).
batches.tsdataThe batches in the lab: a formula version mixed in litres, macerating for a set number of days, then filtered and bottled under its lot number.
customers.tsdataThe house's customers, each with a scent profile: how much they like each family (-2 to 2) and the notes they love or avoid.
db.tsdataThe pretend backend's tables, kept in memory for the visit: what the fake API reads and changes.
formulas.tsdataThe house's formulas: each a pyramid of notes (top, heart, base) with its share of the concentrate in %, its saved versions, and the bottles it sells.
materials.tsdataThe raw materials on the perfumer's organ: essential oils, absolutes, aroma molecules and bases, with stock in grams and the reorder level.
net.tsdataThe fake network every API call goes through: a short wait while Slow network is on, and failed loads while Show error state is on.
orders.tsdataOrders of bottles and sample sets sent out, each with its ship status, carrier and tracking.
rules.tsdataThe rules a number on Overview and the list it opens count by, in one place so a tile never says 4 and opens 5 rows.
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}).
perfume-vetiver.tsx
The page: the sections in order.
Chargement…
Idéal pour
Niche perfumers, candle and fragrance makers and small cosmetic labs that formulate, batch and sell their own scents.
Fonctionnement
Build a formula note by note and watch the pyramid fill, start a batch that counts down, track stock and ship orders and samples.
Utilisation
Edit words in locales/ 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
136,1 ko gzippé · 105 fichiersLe téléchargement complet