A wine shop and wine club back office in claret and brass, with a diamond wine rack for navigation and a glass that fills as tonight's tasting pours.
Web
15페이지
$69
페이지 주소: /
아래에 더 있어요 ↓
기본 제공
제공 내용
라이트 및 다크사용 중인 테마 색상 적용
데스크톱, 태블릿 및 휴대폰지원하는 화면
패키지…
코드 크기…
배터리 절약30 fps, 멈춰 있을 땐 대기
숨겨지면 일시 정지화면 밖 또는 다른 탭
모션 줄이기원하는 사용자에겐 차분하게
변경할 때마다 검사
타입 검사TypeScript strict 모드
린트 및 포맷ESLint · Prettier
테스트 및 빌드라이트/다크 스크린샷
보안 감사높음 또는 심각 등급 권고 없음
패키지 공개 기간모든 버전 공개 후 7일 이상
대기 시 CPU대기 시 코어 절반 미만, 30 fps 이하
코드
이 앱에 이상한 점이 있나요? 피드백 보내기 ›
cellar-claretReact
cellar-claret.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.
allocations.tsxpageAllocations (#/allocations): the rare releases down the side with how much is granted, and the picked one's members' requests as a board (requested, granted, waitlist, declined): drag a request (or move it with Space and the arrow keys) to decide it, with Undo; granting past the bottles there are is refused. ?a=al2 picks a release.
cellar.tsxpageThe Cellar (#/cellar): every wine with search, filters that live in the address (so Back keeps them), sorting and a bulk bar (move to a bin, reprice, delete with Undo), or the rack view where wines drag from bin to bin. #/cellar/w3 opens one wine.
club.tsxpageThe Club (#/club): the tiers as cards that filter the list, then every member with search, filters kept in the address, sorting and a bulk bar (move tier, pause or reactivate, remove with Undo). #/club/m3 opens one member.
margins.tsxpageMargins (#/margins): margin per bottle against price for every wine (filter by style, each dot opens its price editor), the average by style, the wines below the 30% floor, and (?view=month) a year of sales with one month picked (?month=2026-11).
member.tsxpageOne club member (#/club/m3): their card and numbers, then tabs for their profile (what they like and avoid, notes), their club cases (with any swap) and their allocations and tasting bookings. Edit opens the editor; Pause and Remove act at once with Undo.
order.tsxpageOne purchase order (#/suppliers/PO-1038): its lines with the margin each bottle will make at the shelf price, receiving bottles into their bins (all, or a count per line), and the order's status: send a draft, edit it, cancel it, each with Undo.
overview.tsxpageThe Overview (#/): four numbers, the cellar map and tonight's pour meter, then what comes due (drink windows, the club's cases, allocations), then what needs doing (low stock, orders due) and a year of sales. Every number, bin, bar and row opens the list behind it.
settings.tsxpageSettings (#/settings): the shop's details (saved with Undo), the cellar's bins and the club's tiers (added, changed and deleted when nothing uses them), and Appearance: style, theme and language.
shipment.tsxpageOne club shipment (#/shipments/sh4): the case builder (drag wines from the cellar into the case, or pick them up with Space and the arrow keys; the case's cost, margin and style mix update as it fills, with Undo), then packing (tick each member's case off, swap a wine for one member) and the status from draft to shipped.
shipments.tsxpageShipments (#/shipments): every quarterly club case by tier, with filters kept in the address, sorting and a bulk bar (start packing, delete with Undo), and New shipment for a tier and quarter. #/shipments/sh4 opens the case builder.
sign-in.tsxpageThe sign-in page (#/sign-in): the form on a card over the vault, beside a claret panel with a cellar line and a small rack of bottle ends; without the rack nav and top bar.
suppliers.tsxpageSuppliers (#/suppliers): purchase orders with filters kept in the address (status, supplier), sorting and a bulk bar (send, cancel, with Undo), New order with its lines and total as they are typed, and the suppliers themselves on their own tab. #/suppliers/PO-1038 opens one order.
tasting.tsxpageOne tasting (#/tastings/tt4): the pour meter and pour list (drag to reorder, with Undo), the guests (book, check in, mark paid, remove with Undo) and the tasting notes; the status moves from scheduled to live to done.
tastings.tsxpageTastings (#/tastings): the coming evenings as cards with how full they are, then every tasting with filters kept in the address and sorting, and New tasting with a live preview of its card. #/tastings/tt4 opens one.
wine.tsxpageOne wine (#/cellar/w3): its label, numbers and drink window, then tabs for its stock (every move, and a count or sale to log), where it goes (club cases, tastings, allocations, notes) and its supplier orders. Edit opens the editor; Delete goes back to the list with Undo.
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.
allocation-editor.tsxsectionA new allocation or a change to one: the rare wine, how many bottles, the release and closing dates, how it is shared out and the most one member may ask for, checked as it is typed, with Undo after saving.
allocation-requests.tsxsectionA release's members' requests as a board (requested, granted, waitlist, declined): drag one, or move it with Space and the arrow keys, to decide it, with Undo; granting past the bottles there are is refused. Below it, a request to add by hand.
appearance.tsxsectionSettings → Appearance: the style (Glass or Solid), the theme (System, Dark or Light), each choice shown as a small preview, and the language.
cellar-map.tsxsectionThe cellar map: every bin of the rack as a diamond in its place (rows A to D, columns 1 to 6, alternate rows offset), filled to how full it is in the color of the wine most of it holds; a bin opens the cellar filtered to it.
cellar-rack.tsxsectionThe rack view of the cellar: one row of bins at a time (A to D), each bin a column of its wines; drag a wine (or pick it up with Space and the arrow keys) to another bin to move its bottles there, with Undo.
cellar-table.tsxsectionThe Cellar list's table columns, its drink-window chip, and its bulk bar: move the picked wines to a bin, nudge their prices, or delete them, each with Undo.
club-table.tsxsectionThe Club list's parts: the tier cards that filter it, its table columns, and its bulk bar (move tier, pause or reactivate, remove), each with Undo.
dock.tsxsectionThe phone dock: four diamond bins along the bottom (Overview, Cellar, Club, Tastings) and More, which opens the whole rack in a sheet.
margin-chart.tsxsectionMargin against shelf price: one dot per wine in its style's color, sized by bottles on hand, with a dashed line at the 30% floor; each dot is a link that opens the wine's price editor (hover or focus names it).
margin-months.tsxsectionMargins by month: a year of sales against cost as bars, one month picked (?month=2026-11) with its numbers beside it.
member-editor.tsxsectionThe member editor: a new club member or a change to one, in a dialog with their membership card beside it as you type (tier, what the case costs, the styles they like); fields are checked as you leave them, and Save shows a toast whose Undo puts things back.
new-shipment.tsxsectionNew shipment: a tier and a quarter (one case per tier a quarter) and the day it ships; Create opens its case builder.
order-editor.tsxsectionA new purchase order or a change to a draft one: the supplier, when it should arrive, and its lines (a wine, how many, the cost each), with each line's margin at today's shelf price and the order's total as it is typed.
overview-cards.tsxsectionThe Overview's lower cards: drink windows opening in the next years, the club's cases to build, allocations open, bottles to reorder, orders due and a year of sales. Each row or bar opens what it stands for.
packing.tsxsectionPacking a club shipment: the case's wines, then each member's case to tick off (with the progress), and a swap for a member who avoids one of the wines: their case gets another wine in its place.
price-editor.tsxsectionRe-pricing one wine: the cost and shelf price, and as they change the margin, the profit per bottle, what each club tier pays and what the bottles on hand are worth; saved with Undo.
rack.tsxsectionThe navigation: a diamond wine rack, three bins by three turned on its point, one page in each bin with its live count. The current page's bin holds a bottle slid out toward you; on a page switch it slides back in and the next bin's bottle slides out.
sales-card.tsxsectionThe Overview's sales card: a year of sales, a bar per month with the margin as its claret top; a bar opens that month in Margins.
settings-lists.tsxsectionSettings lists: the cellar's bins (label and capacity, how full each is) and the club's tiers (bottles a quarter, price, discount, allocations), each row edited in place, added, or deleted when nothing is in it, with Undo.
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.
supplier-list.tsxsectionThe suppliers as cards (country, contact, terms and lead time, open orders, spend), each opening its orders; add or change one in a dialog, and delete one that has no open orders.
tasting-editor.tsxsectionNew tasting or a change to one: title, date and time, seats, price and host, checked as it is typed, with the tasting's card as it will show; saved with Undo.
tasting-guests.tsxsectionA tasting's guests: each booking with its seats, check in and paid at a tap, removed with Undo; and a booking form (a club member or a walk-in name) that says when the evening is full.
tasting-notes.tsxsectionA tasting's notes: one per poured wine with a score out of 100 and a few words, written, changed and deleted (with Undo); the form shows the note as it will read while it is typed.
tasting-pours.tsxsectionA tasting's pour meter and pour list: the glass fills as glasses are poured (live, or by hand with Pour a glass); the pours are dragged into the order they are served (or moved with Space and the arrow keys), added and removed, each with Undo.
top-bar.tsxsectionThe top bar: the page's label plate (on phones with the logo), search with its shortcut, the live pours' pause, the theme switch and the account menu.
wine-editor.tsxsectionThe wine editor: a new wine or a change to one, in a dialog with its shelf label beside it as you type (drink window, margin, bin), every field checked as you leave it; Save shows a toast whose Undo puts the old wine back.
wine-label.tsxsectionThe shelf label as it will read while a wine is edited: name, vintage, where from, the drink window against this year, and the margin the prices give.
wine-tabs.tsxsectionOne wine's tab panels: its stock (every move, and a count or sale to log), where it goes (club cases, tastings, allocations, notes) and its supplier orders.
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.
slide.tspartThe slide row motion: each row on screen slides 12px in from the nav side, 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; with followBackground it paints your background instead.
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.
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.
card.tsxpartThe pieces every page is built from: the page head (title, a line under it, its actions), a card with a title and a link to the list it sums up, a number tile that opens its list, and a style dot.
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.
data-table.tsxpartA data table: columns that sort (aria-sort), a pick box on each row for the bulk bar, still skeleton rows while loading, an empty note, and rows you move through with the arrow keys, Home and End and open with Enter or a click. The search and filters sit above it (parts/filters.tsx).
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.
form-buttons.tsxpartThe end of every editor: a note when saving failed, then Cancel and Save (Save shows it is working while busy).
format.tspartHow numbers, money and dates are written: by Intl, the current language's way ("$12,400", "12.400 US$"; "Nov 24", "24 nov."). The money is US dollars; change CURRENCY for yours.
glass.tsxpartThe pour meter: a drawn wine glass whose wine rises to the share poured; a new share pours in (the wine eases up), with reduced motion it just shows.
icons.tsxpartThe Claret mark (a bottle seen end-on in its diamond bin) and the line icons, drawn on a 24-unit grid; every line icon reads the Icon Studio's stroke, ends, joins and size.
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).
live.tspartThe live pours: while tonight's tasting runs, a glass is poured every few seconds (the pretend backend's stream), so the pour meter fills on Overview, the Tastings page and the rack. It rests while paused, while the tab is hidden and while the app is off screen.
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.
router.tspartThe page switcher: reads the app's page from the address hash (#/cellar, #/cellar/w3, #/cellar?bin=A1).
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 start side with the rack; Escape, a tap outside or its close button slides it away.
shelf-words.tspartThe shared parts' words (board, filters, bulk bar, table), made from the current language's COMMON words.
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 row of tabs kept in the address (?tab=notes): picking one replaces the address, so Back leaves the page instead of stepping through tabs. The first tab is the bare address.
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-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; their role is ACCOUNT.role in the locale files) and the email and password the sign-in page takes.
api.tsdataThe fake API: every page loads and saves through data/*-api.ts, so wiring a real backend happens in data/ only. This file holds the instant first reads, the shop settings and sign-in.
cellar-api.tsdataThe cellar through the fake API: wines and bins, one wine's whole story, and every save that changes stock, bins and prices.
club-api.tsdataThe wine club through the fake API: members and tiers, one member's page, and the quarterly shipments with their case builder.
dates.tsdataThe demo's calendar: today is fixed, so the pretend stock, shipments and tastings always sit around it; days are ISO strings ("2026-11-24").
db.tsdataThe pretend database: every record the fake API reads and changes, kept for this visit. Saves replace a table with a changed copy.
net.tsdataThe pretend network every call goes through: a short wait while Slow network is on, and a failure on every load while Show error state is on.
overview-api.tsdataThe Overview and Margins answers: the cellar's numbers, drink windows coming up, the club's next cases, tonight's tasting, allocations and orders due, and a year of sales.
rules.tsdataThe shop's rules, shared by the fake API and the pages so a number and the list it opens always count the same way.
seed-cellar.tsdataThe pretend cellar: 24 bins in four rows and the 48 wines in them, with the suppliers they come from.
seed-club.tsdataThe pretend wine club: three tiers, 36 members and this year's quarterly shipments.
seed-tastings.tsdataThe pretend tastings, with their bookings and notes.
seed-trade.tsdataThe pretend allocations of rare bottles with members' requests, and the supplier orders.
tastings-api.tsdataTastings through the fake API: the calendar, one tasting's bookings, pour list and notes, and the pours logged as the night goes on.
trade-api.tsdataAllocations and suppliers through the fake API: rare releases with members' requests, suppliers, purchase orders and receiving them into the bins.
types.tsdataThe shapes the fake API answers with: the cellar's bins and wines, the club, tastings, allocations and supplier orders.
localeslocalesEvery word the app shows, one JSON file a language; list.ts names them.
ar.jsoncontentOne language's words, with the keys of en.json.
de.jsoncontentOne language's words, with the keys of en.json.
en.jsoncontentOne language's words, with the keys of en.json.
es.jsoncontentOne language's words, with the keys of en.json.
fr.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}).
pt.jsoncontentOne language's words, with the keys of en.json.
zh-Hans.jsoncontentOne language's words, with the keys of en.json.
cellar-claret.tsx
The page: the sections in order.
불러오는 중…
이럴 때 좋아요
Wine shops and merchants with a wine club: a cellar by bin and vintage, club cases, tastings, allocations, supplier orders.
작동 방식
Bins of a diamond rack open each page; bins fill on the cellar map, a bottle slides out of the bin you open and a glass fills as wine is poured.
사용 방법
Edit words in locales/, colors and fonts in theme.ts, and swap the bodies in data/*-api.ts for calls to your backend.