Furniture Teak
v1.0A calm furniture shop app in white, cool grey and one deep teal: shop by room, see a piece drawn at real size in a room, compare, check out with a delivery day, track orders and book a designer, for iOS and Android.
Wbudowane
Co dostajesz- Jasny i ciemnyUżywa kolorów twojego motywu
- telefon i tabletEkrany, dla których powstał
- Pakiety…
- Rozmiar kodu…
- Oszczędza baterię30 fps, bezczynny w spoczynku
- Pauza, gdy niewidocznyPoza ekranem lub w innej karcie
- Mniej ruchuSpokojny dla osób, które o to proszą
Sprawdzane przy każdej zmianie
Bezpieczeństwo sprawdzone: 3 gru- Sprawdzanie typówTypeScript w trybie strict
- Lint i formatowanieESLint · Prettier
- Testy i buildZrzuty ekranu w jasnym i ciemnym
- Audyt bezpieczeństwaBrak ostrzeżeń wysokich i krytycznych
- Wiek pakietówKażda wersja publiczna od 7+ dni
- CPU w spoczynkuPoniżej pół rdzenia w spoczynku, ≤ 30 fps
Kod
furniture-teakReact Native
- README.mdHow to run it, change it and ship it.
- app.config.tsThe app's name, ids and platform settings.
- package.jsonThe app's packages: Expo, React Native.
- package-lock.jsonThe exact package versions npm ci installs.
- tsconfig.jsonTypeScript settings: strict, typed routes.
- .npmrcnpm settings: exact versions, no install scripts.
- .gitignoreWhat git leaves out: packages, builds, keys.
- images.d.tsLets TypeScript import the photos in assets/photos (Metro turns each into an image source).
- appThe screens, one file per route (Expo Router).
- (shop)The screens, one file per route (Expo Router).
- _layout.tsxThe shop: All (Home) and one page per room, switched by the room switcher under the logo on a phone, or the side rail on a tablet, with the slim cart bar floating along the bottom.
- bedroom.tsxThe bedroom page of the shop (components/room-page.tsx).
- dining.tsxThe dining page of the shop (components/room-page.tsx).
- home.tsxHome, the shop's "All": a delivery on its way today, the banner carousel, Popular Picks, the trust strip, the rooms, the design consult, New In, the collections, what you looked at lately and the sale.
- living.tsxThe living page of the shop (components/room-page.tsx).
- office.tsxThe office page of the shop (components/room-page.tsx).
- outdoor.tsxThe outdoor page of the shop (components/room-page.tsx).
- addressThe screens, one file per route (Expo Router).
- [id].tsxAdd an address ("new") or edit one: label, who will be there, street, apartment, city, ZIP, phone and how the crew gets in.
- bookThe screens, one file per route (Expo Router).
- [id].tsxBook a consult in three steps: which consult and with whom, the day and time, then the room and what to help with.
- cardThe screens, one file per route (Expo Router).
- [id].tsxAdd a card ("new") or edit one: the number (spaced as you type, the brand read from its first digit), name, expiry, CVC and a label.
- categoryThe screens, one file per route (Expo Router).
- [id].tsxOne category (Sofas, Desks…): its room as a link back, the room's other categories to hop between, the filter chips and its pieces as a grid.
- collectionThe screens, one file per route (Expo Router).
- [id].tsxA curated collection: a photo header with its name and line, what it is about, the set's total, Add the set to bag (with undo), its pieces as a grid and the other collections.
- designerThe screens, one file per route (Expo Router).
- [id].tsxA designer: their photo and name, three facts (rating, consults, years), a quote, about them, the rooms and styles they love, the pieces they recommend, and Book a consult with them in the foot.
- orderThe screens, one file per route (Expo Router).
- [id].tsxOne order: its status, the crew on delivery day, the progress steps, when and where (Reschedule while it is on the way), the pieces (Review once delivered, Buy again), the money, how it was paid, and the ways out: Cancel (with a confirm), Start a return, Get help.
- placedThe screens, one file per route (Expo Router).
- [id].tsxThe order is placed: a check pops into place, the order number, when it arrives, the pieces set down one by one, what happens next, then Track order and Keep shopping.
- productThe screens, one file per route (Expo Router).
- [id].tsxA piece: its photo, name, rating and price; the finish picker, the materials and words about it; delivery and assembly; the dimension drawing; See in room; Compare; reviews; pieces that complete the room.
- rescheduleThe screens, one file per route (Expo Router).
- [id].tsxReschedule a delivery: the day it is on now, the next three weeks of days (booked-out ones greyed) and the windows; Save moves the order and says to when.
- returnThe screens, one file per route (Expo Router).
- [id].tsxStart a return: which pieces go back (ticked), why (one reason), any detail, how the refund and the collection work, then Request return, which marks the order and says what happens next.
- reviewsThe screens, one file per route (Expo Router).
- [id].tsxEvery review of a piece: the piece in a line, its rating split, a sort and a star filter, the shopper's own reviews first, then the rest.
- seeThe screens, one file per route (Expo Router).
- [id].tsxSee in room: the piece drawn at its real size in a drawn room beside a 200 cm door, lowered into place.
- write-reviewThe screens, one file per route (Expo Router).
- [id].tsxWrite a review (opens like a sheet): tap a star rating (each star pops in as picked, with its word), a headline, the review and the name it shows under.
- _layout.tsxThe root: loads the heading font, waits for the kept Light / Dark pick, follows the theme and stacks the screens.
- about.tsxAbout Teak: the ring mark and name, the story, three facts, the promises, the legal links and the photo credits, and the version.
- account.tsxAccount: your photo, name, email and since when, Edit profile, three facts (orders, saved, consults), then Shopping (orders, saved, compare, consults), Your details (profile, addresses, cards) and App (notifications, settings, help, about), and Sign out behind a confirm.
- addresses.tsxAddresses: each saved address as a card (label, Default, the lines, the access notes) with Edit, Make default and Delete (with undo); Add address in the foot.
- bag.tsxThe bag: each line with its quantity, how far to free delivery (a bar that fills as the bag grows), a promo code, the summary and pieces that go with it.
- cards.tsxPayment cards: each card drawn as a small card face (brand, the last four, name, expiry; the default one in teak) with Edit, Make default and Delete (with undo); Add card in the foot.
- checkout.tsxCheckout in four steps (address, delivery, payment, review) under one step bar.
- compare.tsxCompare: up to three pieces side by side.
- consult.tsxDesign consult: a teal lead card, your next consult (or how many are coming up) linking to Your consults, the three kinds of consult with what each includes and costs, the designers, and how it works.
- consults.tsxYour consults: Upcoming and Past tabs.
- forgot.tsxReset a password: the email first (only an account on this phone gets a link), then, on this demo, the new password set right here; then back to sign in with a note that it worked.
- help.tsxHelp & FAQ: search the answers, filter by topic, open a question to read its answer (one at a time), and when nothing helps: chat, call or email the care team.
- index.tsxThe welcome and onboarding: three slides on the pin's soft sky (the only screens that wear it), each a framed photo set down softly with a line on what Teak does.
- notifications.tsxNotifications: how many are new and Mark all read, tabs (All, Orders, Prices, Consults), then Today and Earlier.
- orders.tsxOrders: three facts (spent this year, on the way, delivered), tabs for On the way · Delivered · Cancelled with their counts, then the orders of the tab as cards, newest first.
- profile.tsxProfile: your photo (Change photo explains it comes from the library in the full app), name, email and phone.
- saved.tsxSaved (the wishlist): how many pieces, Add all to bag and Compare, the saved pieces as a grid (the heart on each takes it out, with undo) and Clear saved behind a confirm, with undo.
- search.tsxSearch: type to find pieces by name, category, material or finish, in one room or the whole shop.
- settings.tsxSettings: appearance (System, Light, Dark), measurements (cm or inches, used by every size in the app), which notifications to get, clearing recent searches, and deleting the account (a confirm).
- sign-in.tsxSign in: email and password, checked against the accounts on this phone (the demo account always works, and a tap fills it in).
- sign-up.tsxCreate an account: name, email and a password typed twice.
- componentsThe parts the screens are built from.
- auth-frame.tsxThe frame of sign-in, sign-up and the password reset: a back button, the logo, the title and line, then the form on a white card, and a link to the other screen under it.
- backdrop.tsxThe pin's soft sky, used only behind the welcome and onboarding and as the tablet's outer ground: a still wash from a pale sky at the top into the cool ground, never on a form, button, chip or icon.
- bag-line.tsxOne line of the bag: the piece's photo, name, finish and when it ships, its price for the quantity, the quantity stepper (a trash can at one takes it out, with undo) and Save for later (moves it to Saved).
- blocks.tsxThe small blocks screens are built from: a section's head with its "View all", a white group of rows, a row (icon, words, a value or a chevron), a row with a switch, a status pill in the one status family, a fact tile and the empty state.
- build.tsxA part coming in (MOTION in constants/motion.ts): from its first frame it waits at its moment's pose (a block a hair above its place, a piece higher up, a heart small), then settles into place at its turn.
- button.tsxA button: the main action in deep teal, a soft teal one, a white one with a hairline (for photos and cards), a quiet error one or plain words.
- cart-bar.tsxThe slim cart bar (56 pt) along the bottom of the shop, as in the pin: the bag's newest pieces as small stacked photos, how many and the total, and View bag.
- checkout-steps.tsxThe four steps of checkout, each the body of one page: where to deliver (saved addresses, or add one), the day, window and white-glove extras, the card (saved cards, or add one), and the review of it all before placing.
- controls.tsxThe controls: chips to filter, a segmented switch whose teal pill glides to the picked part, an on/off toggle, the bag's quantity stepper (its minus turns into a bin at one) and a radio dot.
- date-strip.tsxPicking a day and a time: a row of day tiles (weekday, date, Full on the busy ones) that scrolls sideways, and the time windows as a list of radio rows.
- designer-card.tsxA designer as a card (photo, name, role, rating and how many consults; opens their page), and a booked or past consult as a card (who, which kind, when, the room, its status) with Join call, Move and Cancel while it is coming up.
- dims-drawing.tsxA piece's dimension drawing: its outline as a simple box in two-point view, in proportion to its real width, depth and height, with measure lines and their numbers (cm or inches, as picked in Settings), like a maker's sheet.
- field.tsxA labelled text field with one designed focus state on every platform: the border turns teal (same width, so nothing shifts), an error line under it in red, an optional icon, and a show / hide eye on passwords.
- filter-sheet.tsxFiltering and sorting a list of pieces: the picks (sort, price, color, material), how they narrow and order the list, the row of chips that opens them (like the pin's Filter · Sort · Price · Color · Material), and the sheet where they are set, which counts what it would show.
- grid.tsxPiece cards in a grid that fits its own width: two columns on a phone, three or four on a tablet, every card the same width (a lone last card keeps its column's width instead of stretching).
- home-parts.tsxHome's own blocks: the note when a delivery is on its way today, the pin's trust strip (quality, delivery, returns), the rooms as photo cards, the design consult banner and the collections.
- icon.tsxLine icons on a 24-point grid, drawn for Teak so the app needs no icon font: the shop's own (sofa, bed, lamp, a cube for See in room) and the everyday ones.
- logo.tsxTeak's mark: the growth rings of a cut log, a little off-center the way real rings grow, with one fine check line, beside the wordmark and an optional small tagline.
- missing.tsxWhat a screen shows when its link names a piece, order or designer that isn't there (an old link): a note and the way back to the shop.
- order-card.tsxAn order in the list: up to three piece photos overlapped, the order number and its status (teal on the way, green delivered, grey cancelled), when it arrives or arrived, how many pieces and the total.
- photo.tsxA photo that fills its box and keeps its subject in view: the box is measured and the picture placed by its focus point (like CSS object-position), clipped to the box.
- piece-art.tsxA piece drawn flat from the front, at `s` points per centimetre, in its finish: a sofa's seat, back and arms; a table's top and legs; a cabinet's drawers; a bed's headboard; a lamp; a rug lying on the floor.
- pressable-scale.tsxA Pressable that shrinks a little under the finger and springs back.
- product-bits.tsxThe small parts of a piece: its star rating with the review count, its price (with the old price struck through on sale, and a roll from old to new only when it really changes), its finish dots, and the finish picker.
- product-card.tsxA piece as a card, like the pin's: the photo on a soft panel with a round heart (it pops when saved) and a New / Sale tag, then the name (two lines when it needs them), its finish dots, the price and the stars.
- product-parts.tsxThe blocks of a piece's page: its name, rating and price; the finish picker and materials; delivery and assembly; the dimension drawing with cm / in; the See in room card; and the reviews in short.
- review-card.tsxReviews: one customer's review as a card (stars, title, words, who and when, the finish they bought and a Helpful vote), and the summary of a piece's rating with how the reviews split over five to one star (bars that fill once, on open).
- room-page.tsxOne room's page in the shop, as in the pin: the room's name and line, its categories, the Filter · Sort · Price · Color · Material chips, then the pieces as a grid.
- room-rail.tsxThe tablet's slim side rail (84 pt): the ring mark, the rooms as icons with short labels, a teal pill gliding behind the picked room's icon (the phone's room switcher stood upright), then your own places: Saved, Orders, Consult and Account.
- room-scene.tsxSee in room: a drawn room (wall, skirting, a 200 cm door for scale and a floor of 50 cm squares) with the piece set down in it at its real size, in the picked finish.
- room-switcher.tsxThe room switcher along the top of the shop, the app's main nav: All, then each room.
- round-button.tsxA round icon button (back, close, save, the bell), white with a soft lift, or teal when on.
- screen.tsxEvery screen's frame: the theme's ground and the safe-area insets, so nothing sits under the notch or the home indicator.
- search-parts.tsxThe parts of Search: how a piece matches the words typed, what shows before typing (recent searches, trending words, categories), the quick picks while typing, and the no-results state with trending words.
- sheet.tsxA bottom sheet over a dimmed screen (a centered card on a tablet): it rises softly as it opens.
- shop-header.tsxThe top of the shop, kept lean (about 100 pt): the logo with Saved, the bell, the bag and your photo on the right, then the slim room switcher.
- strip.tsxSide-scrolling rows: `Strip` lays any cards in a row that reaches into the page's side margins (so the next card peeks, on the web too, where a ScrollView with visible overflow never scrolls), and `ProductStrip` is a row of piece cards.
- summary.tsxThe money of a bag or an order as a card: subtotal, any discount, delivery (Free at zero), white-glove assembly and removal when picked, tax when known, then the total, which rolls to its new value when a quantity or code changes it.
- toast.tsxThe note after an action, rising just above the cart bar, with an Undo when the action can be taken back.
- top-bar.tsxThe bar on top of every pushed screen: a round back button, the title and up to a few round actions on the right.
- wizard.tsxThe head of a flow in steps (checkout, booking a designer): one bar per step that fills as it is reached, the step's name and "Step 2 of 4".
- words.tsxEvery line of text in the app: a size from the type scale (headings in the brand's font) and a tone from the theme, so a screen never sets colors or sizes by hand.
- constantsColors, sizes, motion and the brand defaults.
- color.tsSmall color math for the shades that follow the brand colors, and the grounds, cards, lines and text mixed from the Brand setting Tint.
- motion.tsMotion settings shared by every animation: Teak's "soft placement".
- theme.tsTeak's colors, the brand defaults and the sizes every screen shares.
- hooksState and theme hooks.
- store.tsA tiny store for the app's state: one value, changed with `update`, and read in components with useStore, which redraws them when it changes.
- use-account.tsThe account: who is signed in, the accounts made on this phone (kept on the device) and whether they signed out, which guards the signed-in screens (app/_layout.tsx).
- use-appearance.tsThe look picked in Settings: System (the phone's light or dark setting), Light or Dark.
- use-bag.tsThe bag: each line a piece in one finish and how many, plus the promo code applied.
- use-brand.tsThe brand settings: the values in constants/theme.ts.
- use-checkout.tsThe checkout being filled in, step by step: where, which day and window, the white-glove extras and the card.
- use-consults.tsDesign consults: the seeded ones plus each one booked, kept on the device.
- use-count-up.tsA number (a price, the bag's total, a count) that shows its value at once when the screen opens, and only when the value really changes (a size picked, a piece added, a code applied) rolls from the old value to the new one, easing out over FILL.
- use-icons.tsHow the line icons are drawn (ICON in constants/theme.ts).
- use-layout.tsPhone or tablet layout, from the window's width (not the device), so an iPad in Split View or a small Android tablet gets the layout that fits.
- use-leave.tsA soft hand-off between screens that replace each other (Get started → sign in, sign in → Home, Sign out → sign in): the screen drives off, then the next one comes in.
- use-motion.tsThe app's moments (MOTION in constants/motion.ts): how parts come in and answer a press.
- use-moves.tsThe app's animations (movesOf in constants/motion.ts), built from its moments (hooks/use-motion.ts).
- use-notices.tsThe notifications and which are read or cleared, kept on the device.
- use-orders.tsThe orders: the seeded history plus each order placed at checkout, kept on the device.
- use-prefs.tsSettings that aren't the look: which notifications to get, centimetres or inches, and what was looked at and searched for lately (Search and Home's "Recently viewed").
- use-reviews.tsReviews this shopper wrote, kept on the device and shown first on the piece's reviews.
- use-saved.tsThe wishlist (Saved) and the compare tray, both lists of piece ids kept on the device.
- use-scheme.tsDark or light: the pick in Settings (hooks/use-appearance.ts), or with System, the phone's appearance setting (app.config.ts sets userInterfaceStyle "automatic"); on the web, the browser's setting.
- use-slide.tsA position that glides to each new target, except the first one it is measured at: there it starts in place, so the pill under the picked room or segment doesn't slide in from the edge when a screen opens.
- use-still.tsWhether the app's own loops and plays stay still: the phone's "Reduce motion" is on, or MOTION.reduce is Always (constants/motion.ts).
- use-theme.tsThe palette of the theme in use and the styles that depend on it and on the brand, built once per brand and theme and shared by every part.
- use-toast.tsA short note at the bottom after an action ("Added to your bag", "Removed from saved · Undo"), with an optional Undo.
- use-visit.tsxCounts each visit to a tab, so a tab's screen builds up again every time it is opened, not only the first time (constants/motion.ts).
- use-wallet.tsSaved delivery addresses and payment cards, each with a default, kept on the device.
- dataEvery word and product the app shows.
- account.tsThe signed-in shopper, their saved delivery addresses and cards, and the promo codes the bag accepts.
- catalog.tsThe shop's rooms (the switcher along the top), the categories in each and the curated collections.
- copy-account.tsThe words of the account screens: the account hub, profile, addresses, cards, settings, notifications, help, about, and the design consults.
- copy-checkout.tsThe words of checkout, the placed order, the orders list and an order's own pages (reschedule, return).
- copy-shop.tsThe words of the shopping screens: a room, a category or collection, the filters, a piece, its reviews, See in room, search, Saved, compare and the bag.
- copy.tsEvery word the shared parts, the welcome, sign-in and Home show, so a buyer changes them in one place.
- designers.tsThe design team behind the free consult: who they are, what they love and when they are free, the three consult kinds, and the consults this shopper already booked (dated from today).
- format.tsHow prices, days and sizes are written: dollars from cents, a day from "days from today", hours ago, and centimetres or inches as picked in Settings.
- help.tsHelp: the questions people ask most, in topics, and the ways to reach a person.
- notices.tsThe notifications list: deliveries, price drops on saved pieces, consult reminders and the odd offer, dated back from now.
- orders.tsPast and open orders over the last eight weeks: four on their way, ten delivered, two cancelled.
- photos.tsEvery photo the app shows, with its shape (width / height) and, where a frame crops it, the point to keep in view (0-1 across and down; the middle when not given).
- products-home.tsLighting, rugs and the bedroom's pieces.
- products-living.tsThe living room's pieces: sofas, armchairs, tables, storage, lighting and rugs.
- products-more.tsDining, home office and outdoor pieces.
- products.tsThe shape of a piece and the finishes it comes in, plus lookups.
- reviews.tsWhat customers wrote about each piece: three or four reviews per piece (about 150 in all) picked from these people and lines, the same every time (a seeded pick, not random), dated back over the last weeks.
- pluginsBuild settings Expo has no option for.
- night-window.tsAndroid's window color (behind the screens) for a phone in dark mode.
- assetsThe photos the screens show.
- photosThe photos the screens show.
- alder-table.jpgA photo the app shows.
- arch-bed.jpgA photo the app shows.
- avatar.jpgA photo the app shows.
- bay-pendant.jpgA photo the app shows.
- beam-floor-lamp.jpgA photo the app shows.
- brass-pendants.jpgA photo the app shows.
- calm-bed.jpgA photo the app shows.
- cloud-chair.jpgA photo the app shows.
- cove-nightstand.jpgA photo the app shows.
- cubby-side-table.jpgA photo the app shows.
- curve-dining-set.jpgA photo the app shows.
- designer-amara.jpgA photo the app shows.
- designer-jonas.jpgA photo the app shows.
- designer-lena.jpgA photo the app shows.
- designer-milo.jpgA photo the app shows.
- designer-rosa.jpgA photo the app shows.
- designer-zoe.jpgA photo the app shows.
- domino-rug.jpgA photo the app shows.
- fjord-sofa.jpgA photo the app shows.
- flex-task-chair.jpgA photo the app shows.
- frame-coffee-table.jpgA photo the app shows.
- halden-media-console.jpgA photo the app shows.
- halden-pendant.jpgA photo the app shows.
- harbor-dining-set.jpgA photo the app shows.
- heirloom-rug.jpgA photo the app shows.
- hollis-chair.jpgA photo the app shows.
- ladder-side-table.jpgA photo the app shows.
- lift-desk.jpgA photo the app shows.
- linden-table.jpgA photo the app shows.
- linen-sofa.jpgA photo the app shows.
- loop-chairs.jpgA photo the app shows.
- marin-loveseat.jpgA photo the app shows.
- niche-bookcase.jpgA photo the app shows.
- noir-sofa.jpgA photo the app shows.
- onboard-calm.jpgA photo the app shows.
- onboard-deliver.jpgA photo the app shows.
- onboard-space.jpgA photo the app shows.
- ply-chair.jpgA photo the app shows.
- ridge-sideboard.jpgA photo the app shows.
- room-bedroom.jpgA photo the app shows.
- room-dining.jpgA photo the app shows.
- room-living.jpgA photo the app shows.
- room-office.jpgA photo the app shows.
- room-outdoor.jpgA photo the app shows.
- rowan-coffee-table.jpgA photo the app shows.
- saffron-wingback.jpgA photo the app shows.
- shaker-chair.jpgA photo the app shows.
- shell-chair.jpgA photo the app shows.
- skye-armchair.jpgA photo the app shows.
- slat-garden-chair.jpgA photo the app shows.
- step-stool.jpgA photo the app shows.
- tallboy-chest.jpgA photo the app shows.
- teak-bistro-set.jpgA photo the app shows.
- terrace-sofa-set.jpgA photo the app shows.
- trestle-desk.jpgA photo the app shows.
- trio-nesting-tables.jpgA photo the app shows.
- tuft-chair.jpgA photo the app shows.
- walden-nightstand.jpgA photo the app shows.
- walnut-dresser.jpgA photo the app shows.
- wren-chair.jpgA photo the app shows.
- writing-desk.jpgA photo the app shows.
README.md
How to run it, change it and ship it.
Ładowanie…
- Dobry do
- Furniture and home brands that sell big pieces online and deliver them on a booked day, with design help on the side.
- Jak to działa
- Browse by room, pick a finish, see it in a drawn room, save or compare, check out with a day and window, track it, book a designer.
- Jak używać
- Run it in Expo Go, change the words in data/copy*.ts, the pieces in data/products*.ts and the colors in constants/theme.ts, then build with EAS for the stores.