Angelica
v1.0An emerald and coral fashion and lifestyle shop app for iOS and Android, with see-through glass cards floating over bright glowing color.
Вбудовано
Що ви отримуєте- Світла й темнаВикористовує кольори вашої теми
- телефон і планшетЕкрани, для яких його створено
- Пакети…
- Розмір коду…
- Економить батарею30 fps, у спокої не навантажує
- Пауза, коли прихованоПоза екраном або в іншій вкладці
- Зменшення рухуСпокійно для тих, хто цього просить
Перевіряється після кожної зміни
Безпеку перевірено 3 груд.- Перевірка типівСтрогий TypeScript
- Лінтер і форматESLint · Prettier
- Тести й збіркаСкриншоти у світлій і темній темах
- Аудит безпекиБез високих чи критичних загроз
- Вік пакетівКожна версія публічна 7+ днів
- Процесор у спокоїМенше половини ядра у спокої, ≤ 30 fps
Код
shop-angelicaReact 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 the app import its photos (data/photos.ts): Metro turns each .jpg into an image source <Image> takes.
- appThe screens, one file per route (Expo Router).
- (tabs)The screens, one file per route (Expo Router).
- categoryThe screens, one file per route (Expo Router).
- [id].tsxA category's or a collection's grid: its name and how many pieces, Filter (with how many filters are on) and Sort buttons, then the pieces as floating glass cards, two across on a phone and four on a tablet.
- _layout.tsxThe tabs: Home, Shop, Cart, Wishlist and Profile, plus a category's grid and Search, opened from Home or Shop, keeping the bar under them.
- cart.tsxThe cart: each line with its stepper, the promo code, the totals (they roll as quantities change) and Checkout.
- categories.tsxShop: the search pill, the five categories as glass cards with a cover photo, the name, what's in it and how many pieces, and the three collections as wide photo cards.
- home.tsxHome, laid out like the pin: the greeting with the bell and face, the rewards balance, the search pill, the collections banner, the category chips, the two floating notes (reviews, free shipping) and Popular picks.
- profile.tsxProfile: the shopper's face, name, email and member year on a glass card with orders, saved pieces and points counting up; then every account page (orders, addresses, payment cards, notifications, rewards, settings, help) and Sign out, which asks first and then fades to sign in, where Back can't return.
- search.tsxSearch: a glass search field that is ready to type in, the recent searches (each one searches again or can be removed, or clear them all) and suggested words while it's empty; then the matching pieces as a grid, live as you type, or a line saying nothing matches.
- wishlist.tsxThe wishlist: every saved piece as a glass card with its picture (it opens the piece), name and price, Move to cart (it flies to the cart and leaves the list) and a heart to unsave, with Undo.
- orderThe screens, one file per route (Expo Router).
- [id].tsxOne order: its number, date and status, the tracking timeline, where it goes and how it was paid, the items (each opens its piece) and the sums; then Buy again (it puts every item back in the cart) and, before it ships, Cancel order, which asks first.
- productThe screens, one file per route (Expo Router).
- [id].tsxA product: Back, the round cart (where Add to cart lands, it opens the cart), the gallery, the name, price and rating, choosing color, size and quantity, Add to cart and the heart, the details, and the reviews.
- _layout.tsxThe root: loads the heading font and the kept Light / Dark / System pick, follows it (the status bar and the window too) and stacks the screens.
- addresses.tsxAddresses: every saved address on a glass card with Edit and Delete (it asks first), and Add address.
- cards.tsxPayment cards: every saved card's face with Edit and Delete (it asks first), and Add card.
- checkout.tsxCheckout in three steps: pick (or add) the address, pick (or add) the card, then review the items, where they go, how they're paid and the totals, and Place order.
- help.tsxHelp: the questions people ask most on glass cards, each opening to its answer with the chevron turning, and how to write to the shop.
- index.tsxWelcome: the Angelica wordmark, a tall photo card of the boutique hung on the drawn wall with two small glass notes floating at its corners, the line of what the shop is, and Get started / I have an account.
- notifications.tsxNotifications: each one on a glass card with its icon, title, words and how long ago, new ones marked with a dot.
- order-placed.tsxOrder placed: a check that pops in on a glass card, the thank-you with the order number, the points it earned (counting up), and Track order or Keep shopping.
- orders.tsxOrders: every order newest first on a glass card with its pictures, the number, the date, how many items, the total and where it stands.
- reviews.tsxReviews: every review across the shop, newest first, with the shop's rating on top, or, opened from a product, that piece's reviews (your own can be edited there).
- rewards.tsxRewards: the store credit rolling up on a deep emerald glass card with the tier, a bar of the points toward the next tier, how points are earned and how credit is used.
- settings.tsxSettings: the alerts (order updates, sales on saved pieces, new collections) as switches, your usual size (the product page picks it first) and the look: System, Light or Dark (components/theme-picker.tsx).
- sign-in.tsxSign in: email and password (with show/hide), Remember me, Forgot password and the demo account to fill in with one tap.
- sign-up.tsxSign up: name, email and password (with show/hide, at least 8 characters).
- componentsThe parts the screens are built from.
- artThe drawings, as code: no image files.
- product-art.tsxThe drawn stand-in for a product without a photo: the piece as a soft flat shape in its color, standing on a round stone plinth, all on one 120-point grid so every drawing looks of one hand.
- address-sheet.tsxAdding or editing an address: label, name, street, city, ZIP and phone, each required (a missing one says so under it), then Save.
- auth-frame.tsxThe sign-in and sign-up screens' frame: the Angelica wordmark, a title and the form on a glass card over the room, scrolling clear of the keyboard.
- avatar.tsxA round face: the person's photo (data/photos.ts FACES), or their initials on pale emerald when there is none.
- backdrop.tsxThe room behind every screen, so glass always has something to show through.
- build.tsxOne block of a screen's "gallery float" entrance (constants/motion.ts): from its first frame it is clear, 10pt low and leaning a little (the Brand setting Card tilt, every other block the other way); then it rises, straightens and fades in at its place in the order, like a card hung on a wall settling.
- button.tsxA button with a label and an optional icon, at least one touch target tall: "main" is the deep emerald pill, "soft" a pale emerald one and "line" an outlined one.
- card-sheet.tsxAdding or editing a payment card: its name, the name on it, the number (16 digits, shown in fours; an edit keeps the old one unless retyped), the expiry (MM/YY) and the card's color, with a live preview of the card on top.
- card.tsxA glass card: white (or emerald at night) glass over the room, with a fine light rim, a soft layered shadow and the brand's roundness.
- cart-button.tsxThe cart bubble: a round white bubble showing the piece added last as a photo, with the count on a badge and a small bag so it reads as the cart (the bag alone while the cart is empty).
- cart-line.tsxOne line of the cart: the piece's picture (it opens the piece), its name, color and size, the line's price and a stepper.
- checkout-parts.tsxCheckout's steps: Ship to (the saved addresses to pick from, and Add an address, which is picked once saved), Pay with (the cards, and Add a card) and Review (the items, then where they go and how they're paid, each with Edit back to its step).
- checkout-steps.tsxCheckout's three steps (Address, Payment, Review) on a glass pill: a white marker glides behind the current one, and a step already done is a button back to it.
- chip.tsxA pill to pick one of a few (a category, a size, a sort, a filter): the picked one is deep emerald with light words, the rest pale glass.
- confirm-sheet.tsxA sheet that asks before something that can't be undone (sign out, delete an address, cancel an order): a line of what happens, the action and a way out.
- empty-state.tsxWhat an empty list shows (cart, wishlist, notifications, a filter with no matches): an icon in a soft glass circle, a line of what's missing, a line of what to do and one button that does it.
- field.tsxA labelled text field on frosted glass with an optional icon, a show / hide eye for passwords and an error line under it.
- filter-sheet.tsxThe grid's filters and sorting: a sheet to pick a price band, a color and "On sale only", whose button says how many pieces will show, and a sheet to pick the order.
- float-notes.tsxThe two small glass notes floating on Home, like the pin's: the shop's reviews (four faces, 4.8 and a star, "23K reviews"), which opens every review, and the deep emerald free-shipping note, which opens Shop.
- fly-layer.tsxDraws the flight of a piece to the cart (hooks/use-fly.ts): a round picture of it lifts from the button, arcs over the screen while it shrinks, and drops into the cart, whose badge then pops.
- forgot-sheet.tsxForgot password: a sheet asking for the email (filled from the sign-in form), checked, then a line saying where the reset link went.
- heading.tsxA heading in the brand's heading font: "title" for a screen, "heading" for a card or sheet.
- heart-button.tsxThe wishlist heart on a round glass button.
- hero-carousel.tsxHome's banner: the three collections (Spring, Summer Linen, The Home Edit) as photo cards you swipe through, each with its title and line on a soft wash and a Shop now button that opens the collection.
- home-header.tsxThe top of Home, as in the pin: a menu button (it opens Shop), "HELLO, MAYA" in small capitals, the bell with its count of new notifications and the shopper's face, which opens Profile.
- icon-button.tsxA round glass button holding one icon (back, close, search, bell), a full touch target.
- icon.tsxAngelica's line icons, drawn on one 24-point grid with round ends and a 1.6 stroke, so they read as one quiet set.
- list-row.tsxOne row in a glass list (Profile, Settings): an icon in a soft round well, a title with a line under it, and a chevron or a control on the end.
- logo.tsxAngelica's own mark and wordmark: an angelica umbel (a stem opening into small round flower heads) in a circle, beside the name in the heading font.
- money.tsxA price that rolls from its old value to its new one when it changes (cart totals, the rewards balance), so a change is seen, not just swapped.
- nav-rail.tsxThe tablet's navigation, split the same way as the phone's: the Angelica mark at the top, then a slim upright deep emerald glass pill with Home, Shop, Wishlist and Profile (a white circle glides behind the picked one), and below it, on its own, the round cart bubble showing the piece added last.
- nav-tab.tsxThe pieces both navigation bars share: each place's icon and name, and going to a tab the way a tab press should (the tab's own press event first).
- order-timeline.tsxAn order's tracking: Placed, Packed, On its way and Delivered down a line, each done step a filled emerald dot with when it happened, the current one ringed, the rest pale.
- pay-card.tsxA payment card's face: its color (emerald, coral or plum) with a soft sheen, the Angelica mark, the card's name, its last four digits, the name on it and the expiry.
- photo.tsxA photo filling its box ("cover") with its focus point kept in view where the box crops it, the way CSS object-position does; `zoom` crops closer around the focus (a gallery's close-up).
- pressable-scale.tsxA Pressable that shrinks a little under the finger and springs back.
- product-buy.tsxChoosing and buying a piece: its colors as swatch chips ("Color: Emerald"), its sizes (a piece in one size skips this; your usual size from Settings starts picked; otherwise one must be picked first, and Add to cart says so), the quantity, then Add to cart, which flies a picture of it to the cart, beside the wishlist heart.
- product-card.tsxA product as a floating glass card, like the pin's headphones and sunglasses cards: its photo in a soft inset frame with the wishlist heart on top, the name, the price (and the old one when on sale) and a round + that adds it to the cart in its first color and size, flying a picture of it to the cart.
- product-gallery.tsxA product's gallery on a glass card: three pages you swipe through (the full photo, a close-up, and the drawing in the picked color), with dots that follow the swipe on the UI thread and say which page is shown.
- product-picture.tsxA product's picture filling its box: its photo (data/photos.ts) or, when it has none, its drawing in the picked color.
- product-reviews.tsxA product's reviews on its page: the average with its stars and count, Write a review (or Edit yours), the first three reviews and See all, which opens every review of the piece.
- promo-box.tsxThe promo code on the cart: a field with Apply (a wrong code says so under it), or, once one is on, the code with its discount and a button that takes it off.
- review-row.tsxOne review: the face, the name, the stars and how long ago, then the words.
- review-sheet.tsxWriting or editing your review of a piece: the stars to rate it and a few words, then Post (or Update); an existing review can be deleted here too.
- rewards-card.tsxThe rewards balance under Home's greeting, as the pin's "Your Balance": the store credit in large numbers that roll up as the card lands, its gain this month with a small rising arrow, and the points.
- screen.tsxEvery screen's frame: the room behind (components/backdrop.tsx, unless the tabs already draw it) and the safe-area insets, so nothing sits under the notch, the status bar or the home indicator.
- section-head.tsxA section's title row in the heading font, with an optional "See all" link on the end.
- sheet.tsxA bottom sheet of white glass over a dimmed screen (filters, a review, an address, sign out).
- stars.tsxA rating as five small stars (filled up to the rating, rounded to the nearest whole) in the accent color; read as "4.8 out of 5".
- stepper.tsxA quantity stepper: minus, the number, plus.
- tab-bar.tsxThe phone's navigation, split in two: a small deep emerald glass pill at the bottom left with Home, Shop, Wishlist and Profile as icons, a white circle gliding behind the picked one (it starts in place, hooks/use-slide.ts), and the round cart bubble on its own at the right, showing the piece added last (components/cart-button.tsx).
- tab-scroll.tsxA tab screen's scroll view.
- theme-fade.tsxThe soft switch between light and dark: the new look shows at once under a veil of the old ground, which fades away, so the change reads as a cross-fade rather than a flash.
- theme-picker.tsxThe look picker in Settings: System, Light and Dark as one segmented control on a sunk track, a raised glass pill gliding to the pick (it starts in place, hooks/use-slide.ts).
- toast.tsxThe note after an action ("Added to your wishlist", "Removed · Undo"): a deep emerald glass pill that floats up above the tab bar like the pin's floating badges, stays four seconds and fades away.
- toggle.tsxAn on/off switch with the brand's emerald when on.
- top-bar.tsxThe top of a pushed screen: a round Back button, the title in the heading font with an optional line under it, and room for actions on the end.
- totals.tsxThe order's sums on a glass card: subtotal, the promo discount, shipping (Free over the threshold, else how much more to spend for it) and the total in large numbers.
- constantsColors, sizes, motion and the brand defaults.
- color.tsSmall color math for the shades that follow the brand colors.
- format.tsSmall formatters every screen shares: prices, {slots} in words, how long ago, dates and plurals of items.
- motion.tsMotion settings shared by every animation: Angelica's "gallery float".
- theme.tsAngelica'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 (or that they signed out, which guards the signed-in screens, app/_layout.tsx), the accounts made on this phone and the email Remember me keeps for the next sign in.
- use-appearance.tsThe look the shopper picked in Settings: System (the phone's light or dark setting), Light or Dark.
- use-arrive.tsA part arriving from its moment's pose (MOTION in constants/motion.ts): when it mounts, and again each time `show` turns to a new truthy value.
- use-brand.tsThe brand settings: the values in constants/theme.ts.
- use-cart.tsThe cart: one line per product, color and size, its quantity, and the promo code, with the totals worked out from them (free shipping over FREE_FROM), and which line was added last (the cart bubble shows it).
- use-count-up.tsA number that rolls from where it was to its new value (a total, the rewards balance), easing out over ROLL.
- use-fly.ts"Add to cart" flies a small picture of the piece from the button to the cart (the tab bar's cart, or the cart button on a product page).
- 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 (sign in → Home, Profile → sign in): the screen fades out, then the next one comes in.
- use-motion.tsThe app's moments (MOTION in constants/motion.ts): how parts come in, answer a press and leave.
- use-mouse-swipe.tsHome's banner on a phone: fingers swipe the scroll view itself and its drag holds the auto-advance, so this has nothing to add (the web version, use-mouse-swipe.web.ts, adds mouse dragging and the on-screen check).
- use-mouse-swipe.web.tsHome's banner on the web, where a mouse can't swipe a scroll view: drag it with the button held and it follows the pointer, then settles on the next card after a short pull (or back on the nearest one); a trackpad swipe settles the same way.
- use-notices.tsThe notifications and which are read: open one to read it, mark all read, dismiss one or clear them all.
- use-orders.tsOrders: the ones placed on this phone and the account's first two, newest first.
- use-prefs.tsThe shopper's settings: which alerts they get and their usual size, which the product page picks first.
- use-reviews.tsReviews: the shop's (data/reviews.ts) plus the ones written on this phone, which can be edited and deleted.
- use-scheme.tsDark or light: the shopper's pick in Settings (hooks/use-appearance.ts), or with System, the phone's appearance setting (app.config.ts sets userInterfaceStyle "automatic").
- use-searches.tsSearch: the recent searches (newest first, at most six) and one live search over the products' names, categories, colors and blurbs that every searching screen uses.
- use-slide.tsA position that springs to each new target, except the first one it is measured at: there it starts in place, so the marker under the chosen tab or segment doesn't slide in from the edge when its 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 current theme and the styles that depend on it and on the brand, built once per brand and theme and shared by every component.
- use-toast.tsA short note at the bottom after an action ("Added to your wishlist"), 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.tsThe saved addresses and payment cards: add, edit and delete, and which one checkout picks first.
- use-wishlist.tsThe wishlist: the ids of the saved products, newest first.
- dataEvery word and product the app shows.
- catalog-goods.tsThe accessories and the home pieces: Accessories and Lifestyle.
- catalog-wear.tsThe clothes and shoes: Women, Men and Shoes.
- categories.tsThe shop's five categories and three collections, with the product whose photo stands for each (data/photos.ts).
- copy-account.tsThe account's words: profile, addresses, cards, settings, notifications, rewards and help.
- copy.tsEvery word the screens show, so a buyer changes them in one file.
- notices.tsThe notifications the bell on Home opens.
- orders.tsOrders: their shape, the steps an order goes through, and the two the account starts with (one on its way, one delivered).
- photos.tsThe photos (Unsplash stand-ins, free license; credits in README.md), one per product plus the collection banners, the welcome screen and the people.
- products.tsEvery product the shop sells, its category and the collections it is in.
- reviews.tsWhat shoppers said: three reviews for every product, picked from a pool of believable lines, and the shop's overall rating for Home.
- swatches.tsThe colors and size runs the products come in (data/catalog-*.ts).
- user.tsThe signed-in shopper, the demo account and what the account starts with: saved addresses, payment cards and the rewards balance.
- 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.
- amber-candle.jpgA photo the app shows.
- avatar-kofi.jpgA photo the app shows.
- avatar-lena.jpgA photo the app shows.
- avatar-maya.jpgA photo the app shows.
- avatar-sofia.jpgA photo the app shows.
- avatar-tom.jpgA photo the app shows.
- aviators.jpgA photo the app shows.
- bucket-bag.jpgA photo the app shows.
- chore-jacket.jpgA photo the app shows.
- classic-watch.jpgA photo the app shows.
- cream-cardigan.jpgA photo the app shows.
- denim-shirt.jpgA photo the app shows.
- espadrilles.jpgA photo the app shows.
- field-jacket.jpgA photo the app shows.
- gold-hoops.jpgA photo the app shows.
- headphones.jpgA photo the app shows.
- hero-home.jpgA photo the app shows.
- hero-linen.jpgA photo the app shows.
- hero-spring.jpgA photo the app shows.
- leather-slides.jpgA photo the app shows.
- linen-dress.jpgA photo the app shows.
- linen-henley.jpgA photo the app shows.
- linen-kaftan.jpgA photo the app shows.
- linen-throws.jpgA photo the app shows.
- merino-crew.jpgA photo the app shows.
- moon-jar.jpgA photo the app shows.
- olive-tote.jpgA photo the app shows.
- penny-loafers.jpgA photo the app shows.
- ring-vase.jpgA photo the app shows.
- stoneware-cup.jpgA photo the app shows.
- straw-hat.jpgA photo the app shows.
- suede-chelsea.jpgA photo the app shows.
- weekender.jpgA photo the app shows.
- welcome.jpgA photo the app shows.
README.md
How to run it, change it and ship it.
Завантаження…
- Підходить для
- Clothing, shoe and home boutiques that want their own calm, premium shopping app on iOS and Android.
- Як це працює
- Browse collections and categories, filter and sort, pick a size, save to your wishlist, add to the cart and check out, then track the order.
- Як користуватися
- Run it in Expo Go, change the words in data/copy.ts, the pieces in data/products.ts, photos in data/photos.ts and colors in constants/theme.ts, then build with EAS.