Amazon Clone

Amazon clone · Shopping app · from our videos on X

Amazon Clone is an Amazon-style shopping app built in SwiftUI as Orinoco, an original brand, in Amazon's look. Home opens under a teal-to-mint header with the search bar and the deliver-to row, a Black Friday Week hero and Today's Deals with red deal badges, claimed bars and ticking countdowns. Search shows Amazon-style results; a product page has the photo gallery, the big whole-dollar price with its typical price struck, and the yellow Add to Cart that flies the photo into the cart. The cart, checkout and 'Order placed, thanks!' work end to end, and Track package drives the truck to Delivered and shows the doorstep photo. Every deal badge is one view and every product carries 120 days of price history, so one prompt can add a fake-deal detector.

  • iPhone · Swift
  • Built in 1 prompt
  • Free to remix
Amazon Clone, shopping app built with Vibecode
Remix this template

Remix copies the working app into your account for free, exactly as we built it. It runs in Vibecode's cloud iOS simulator, in your browser.

Watch the video on X@vibecodeapp · Nov 20, 2026

The prompt that builds it

We built Amazon Clone in one prompt. Paste it into a new app to build your own copy, or change it first.

Prompt · 3,402 words

Build Orinoco, an original shopping app for iPhone in SwiftUI, in the genre of Amazon: a teal-to-mint header with a white search bar and "Deliver to Maya - Brooklyn 11211", a Black Friday Week home page, Today's Deals with red deal badges and claimed bars, search results, product pages with the yellow Add to Cart and orange Buy Now, add-to-cart that flies into the cart, a cart, checkout ending in "Order placed, thanks!", and order tracking that ends on the doorstep delivery photo. Its own name, logo and words, all below. The shopper is Maya Chen. Today is Friday, November 20, 2026, day 2 of Black Friday Week (deals end November 30).

ASSETS
curl -L once and unzip flat: https://vibecode-orinoco-media.beacon.host/media.zip (orinoco-icon.png: the app icon; p-*.jpg: 800x800 product photos on white, named in FIXTURES; delivered.jpg: 800x1200, a box on a Brooklyn stoop). Put every image in the asset catalog under its file name. No image generation is needed.

BRAND
Name "Orinoco". OrinocoMark (Brand.swift), a Shape in a unit square: a parcel box = a rounded rectangle from (0.18, 0.24) to (0.82, 0.80), corner 0.09, fill #FFA41C; the lid seam, a line from (0.18, 0.38) to (0.82, 0.38), 0.028 wide, #D98400; tape, a rectangle from (0.44, 0.24) to (0.56, 0.38), #FFD88A; a white wave stroke 0.06 wide with round caps: M 0.28,0.60 C 0.36,0.51 0.43,0.51 0.50,0.60 C 0.57,0.69 0.64,0.69 0.72,0.60. The wordmark is "orinoco" in SF Pro Rounded heavy, lowercase. The membership is Orinoco Plus; PlusBadge = checkmark (11 pt bold) + "plus" (13 pt heavy italic), both #00A8E1.

LOOK
Light mode only. Header: a left-to-right gradient #87DAE0 → #A5E6D3 that runs up under the status bar. Page background #E3E6E6 with white cards (no corners on full-width cards, 8 pt elsewhere). Text #0F1111, secondary #565959, links teal #007185, hairlines #D5D9D9. Deal red #CC0C39; In Stock green #007600; success green #067D62; stars #FFA41C; Add to Cart yellow #FFD814; Buy Now orange #FFA41C; Plus blue #00A8E1. SF Pro everywhere, numbers .monospacedDigit(). Prices in the store's style: "$" and the cents small and raised beside big whole dollars ("$129" + "99"), from one PriceText view. Pills are capsules; pressed states darken and scale 0.97; springs under 350 ms; light haptics. The status bar is visible (dark) on every screen.
Tab bar (custom, flat, not the floating glass bar): white, a hairline on top, 4 icon-only items (26 pt, #0F1111): Home (house), You (person), Cart (cart, with the item count drawn INSIDE the basket, 13 pt bold #E47911), Menu (line.3.horizontal). The selected item is teal #007185 with a 3 pt teal bar along the tab bar's top edge above it. Opens on Home; no splash, onboarding, sign-in or permission prompts.

FORMAT (Format/)
One Money formatter, Locale(identifier: "en_US") ("$1,299.99"); counts "(12,408)"; dates "Nov 21" and "November 12, 2026". The simulator's region is not en_US: never use the device locale.

FIXTURES (Data/ProductCatalog.swift: ONE [Product] list; a new product is one entry)
Product: id (= photo name), title, store, price, typicalPrice, rating, reviewCount, bought ("10K+ bought in past month"), category, deal (.blackFriday: a "Black Friday Deal" badge; .limited(claimed%): a "Limited time deal" badge + claimed bar), history, photos, about (bullets), reviews.
history makes priceHistory: one price per day, Jul 23 → Nov 20, 2026 (121 values). "raised <date>" = the deal price until that date, the typical price from it through Nov 18, the deal price from Nov 19. "steady" = the typical price through Nov 18, the deal price from Nov 19. The app shows only "Typical price"; priceHistory is there for remixes.
1. p-headphones · "Sonora Max Wireless Noise Cancelling Headphones, 60H Battery, Sage" · Sonora · $129.99 · typical $239.99 · 4.6 (12,408) · 10K+ · Electronics · .blackFriday · raised Nov 1 · photos p-headphones, p-headphones-2, p-headphones-3 · about: "Adaptive noise cancelling that tunes itself to the room", "60 hours of battery; 10 minutes of charging gives 5 hours", "Memory-foam ear cushions in sage and cream", "Multipoint: switch between phone and laptop", "Folds flat into the hard-shell case" · reviews: Jasmine R. ★★★★★ "Quiet on the subway, finally" "Wore them on the L train and heard nothing. Comfy for hours."; Marcus T. ★★★★☆ "Great sound, case is big" "Bass is rich, calls are clear. The case is bulky."; Elena V. ★★★★★ "Bought a second pair as a gift" "The sage color is even prettier in person."
2. p-airfryer · "Crispwell 6 Qt Air Fryer, 8-in-1, Dishwasher Safe Basket" · Crispwell · $59.99 · $99.99 · 4.7 (48,210) · 20K+ · Kitchen · .blackFriday · steady
3. p-tv · "Lumio 65-inch 4K UHD Smart TV, HDR10+, Built-in Apps" · Lumio · $379.99 · $649.99 · 4.5 (8,902) · 5K+ · Electronics · .blackFriday · raised Oct 26
4. p-robovac · "Tidyo S8 Robot Vacuum, LiDAR Mapping, 4000Pa" · Tidyo · $179.99 · $299.99 · 4.4 (6,117) · 4K+ · Home · .limited(72) · steady
5. p-mixer · "Bakehaus 5.5 Qt Tilt-Head Stand Mixer, Cherry Red" · Bakehaus · $199.99 · $329.99 · 4.8 (21,330) · 3K+ · Kitchen · .blackFriday · raised Nov 5
6. p-earbuds · "Sonora Buds Pro, Active Noise Cancelling Earbuds" · Sonora · $49.99 · $99.99 · 4.4 (31,775) · 30K+ · Electronics · .blackFriday · raised Nov 3
7. p-ereader · "Pagewise 7-inch E-Reader, Glare-Free, Warm Light" · Pagewise · $89.99 · $139.99 · 4.7 (15,880) · 10K+ · Electronics · .blackFriday · steady
8. p-projector · "Beamo Mini Projector, 1080p, Built-in Apps" · Beamo · $69.99 · $139.99 · 4.3 (4,215) · 3K+ · Electronics · .limited(91) · raised Oct 30
9. p-tumbler · "Hydra 40 oz Tumbler with Handle, Blush" · Hydra · $24.99 · $35.00 · 4.8 (61,004) · 50K+ · Kitchen · .limited(64) · steady
10. p-toothbrush · "Brightly Sonic Electric Toothbrush, 5 Modes" · Brightly · $39.99 · $69.99 · 4.6 (9,420) · 8K+ · Beauty · .limited(58) · steady
11. p-blanket · "Loomly Chunky Knit Throw Blanket, 50x60, Oatmeal" · Loomly · $34.99 · $59.99 · 4.7 (5,302) · 3K+ · Home · .blackFriday · raised Nov 2
12. p-coffeemaker · "Brewbit Single-Serve Coffee Maker, 12 oz" · Brewbit · $49.99 · $89.99 · 4.5 (22,184) · 10K+ · Kitchen · .blackFriday · steady
13. p-skillet · "Forgeline 12-inch Cast Iron Skillet, Pre-Seasoned" · Forgeline · $19.99 · $34.99 · 4.8 (77,410) · 20K+ · Kitchen · .limited(81) · steady
14. p-puffer · "Northline Women's Glossy Puffer Jacket, Black" · Northline · $69.99 · $129.99 · 4.5 (3,880) · 2K+ · Fashion · .blackFriday · raised Nov 4
15. p-sneakers · "Stride Knit Running Shoes, Cloud White" · Stride · $54.99 · $89.99 · 4.6 (12,045) · 5K+ · Fashion · .limited(47) · steady
16. p-slippers · "Cozyfeet Sherpa Slippers, Cream" · Cozyfeet · $19.99 · $34.99 · 4.7 (18,662) · 10K+ · Fashion · .blackFriday · steady
17. p-massagegun · "Kneadly Pro Massage Gun, 6 Heads" · Kneadly · $59.99 · $119.99 · 4.6 (10,330) · 6K+ · Sports · .blackFriday · steady
18. p-dutchoven · "Hearthware 5.5 Qt Enameled Dutch Oven, Flame" · Hearthware · $59.99 · $99.99 · 4.8 (14,009) · 4K+ · Kitchen · .limited(69) · steady
19. p-charger · "Volta 3-in-1 Wireless Charging Stand, White" · Volta · $29.99 · $49.99 · 4.5 (9,876) · 7K+ · Electronics · .blackFriday · raised Nov 6
20. p-candles · "Emberlane Amber Jar Candles, Set of 3" · Emberlane · $24.99 · $39.99 · 4.6 (2,940) · 2K+ · Home · .limited(52) · steady
Write 4 fitting about bullets and 3 fitting reviews (first name + initial, stars, a bold headline, text, a date in Nov 2026) for every other product. Discount = round((typical − price) / typical × 100), shown "-46%".
Launch cart: p-tumbler, p-candles, p-slippers (1 each; count 3, subtotal $69.97). Orders: o1 "Arriving today by 10 PM" (p-airfryer, ordered Nov 18, shipped Nov 19, out for delivery), o2 "Delivered Nov 17" (p-skillet), o3 "Delivered Nov 12" (p-candles, p-blanket). Address: Maya Chen, 214 Bedford Ave, Apt 3R, Brooklyn, NY 11211. Card: Visa •••• 4242. Tax 8.875%.

SCREENS
1. Home: the header (search bar: white, 44 pt, 8 pt corners, soft shadow: magnifyingglass, "Search Orinoco" #565959, camera.viewfinder and mic at the right; under it a scrolling row of links on the gradient: "Black Friday Week", "Holiday Gifts", "Plus", "Groceries", "Electronics", "Home", "Fashion" (14 pt); then the deliver row (34 pt, #C8F0EC): mappin.and.ellipse + "Deliver to Maya - Brooklyn 11211" + chevron.down). Scroll:
 a. Black Friday Week hero (220 pt, #0F1111): "BLACK FRIDAY" (34 pt black, white) over "WEEK" (34 pt black, #FFA41C), "Deals end Nov 30", a ticking "Ends in 10d 17:59:59", a white "Shop all deals" capsule; at the right three product photos on white 12 pt rounded squares, staggered (headphones, air fryer, TV). Tap: Today's Deals.
 b. "Today's Deals" card + "See all deals" (teal): a horizontal row of DealTile (160 pt): photo on #F7F7F7 (8 pt corners), DealBadge, PriceText, "Typical: $239.99" struck, the claimed bar for limited deals. Order: headphones, air fryer, TV, robot vacuum, mixer, earbuds, e-reader, projector.
 c. "Shop by category": 72 pt round photos + names: Electronics (p-tv), Kitchen (p-mixer), Home (p-blanket), Fashion (p-puffer), Beauty (p-toothbrush), Sports (p-massagegun). Tap: results for that category.
 d. "Keep shopping for": a 2x2 card (earbuds, e-reader, projector, sneakers) with names.
 e. "Buy again": tumbler, skillet, candles, coffee maker, each with a small yellow "Add to cart".
 f. "Deals for you": a 2-column grid of DealTile, every product.
2. Today's Deals (push): filter chips "All", "Black Friday", "Electronics", "Kitchen", "Home", "Fashion"; the 2-column DealTile grid; limited deals show "Ends in 05:59:59" ticking.
3. Search (push from the search bar): the field focused, "Recent searches" with a clock icon ("air fryer", "headphones", "robot vacuum"); typing shows suggestions (titles containing the text, the typed part bold); return or a suggestion: Results.
4. Results: "1-16 of over 3,000 results for "headphones"", chips "Plus", "Deals", "4★ & up", "Under $100", "Brand ▾"; rows: photo 140 pt on #F7F7F7; "Sponsored" (12 pt #565959) on the first row; a "Top Pick" tag (#232F3E, white 12 pt) on the best-rated row; title (3 lines, 15 pt); "4.6 ★★★★★ (12,408)"; "10K+ bought in past month"; DealBadge; PriceText; "Typical: $239.99" struck; PlusBadge + "FREE delivery Tomorrow, Nov 21"; a small yellow "Add to cart" (fly-to-cart). Tap a row: the product page.
5. Product page (push; the header with a back chevron and the search bar). ProductPage renders ONE ordered list of sections (ProductPageLayout.sections; a new section is one entry plus one view):
 storeRating: "Visit the Sonora Store" (teal 14 pt) and "4.6 ★★★★★ (12,408)" at the right.
 title: the title (15 pt, 2 lines) + "10K+ bought in past month" (13 pt #565959).
 gallery: a 300 pt pager of the photos on white, teal page dots, heart and square.and.arrow.up circles top right.
 deal: DealBadge, large ("Black Friday Deal" white 13 pt bold on #CC0C39, 4 pt corners).
 price: "-46%" (28 pt light #CC0C39) + PriceText ("$129" 28 pt, "$" and "99" 14 pt raised); the right side of this row stays empty.
 typical: "Typical price: $239.99" (13 pt #565959, the amount struck) + info.circle.
 claimed (limited deals and the headphones): a 6 pt bar (track #E3E6E6, fill #CC0C39) at 87% + "87% claimed" (13 pt #CC0C39) + "Ends in 05:59:59" (#565959), ticking from one shared Clock.
 delivery: PlusBadge + "FREE delivery **Tomorrow, Nov 21**. Order within **3 hrs 12 mins**" (14 pt; "Order within" #007600); mappin + "Deliver to Maya - Brooklyn 11211" (teal 13 pt).
 stock: "In Stock" (18 pt #007600) and at the right "Qty: 1 ⌄" (a #F0F2F2 capsule, 1 pt #D5D9D9 border).
 buttons: "Add to Cart" (48 pt #FFD814 capsule, 16 pt #0F1111) and 10 pt under it "Buy Now" (48 pt #FFA41C).
 shipsFrom: "Ships from Orinoco · Sold by Orinoco", "Returnable until Jan 31, 2027" (13 pt).
 about: "About this item" + bullets.
 reviews: "Customer reviews", "4.6 out of 5", five bars ("5 star 72%"... #FFA41C fills), the 3 reviews (initials circle, name, stars, bold headline, "Reviewed in the United States on November 12, 2026", "Verified Purchase" #C45500, text).
6. FlyToCart (Components/, one overlay used everywhere): a 64 pt copy of the product photo (8 pt corners, soft shadow) lifts from the product's photo (the gallery centre on the product page, the tile's photo elsewhere) and arcs to the Cart tab icon (a quadratic curve bowing up, scale 1 → 0.3, always visible, never fades early; 0.5 s, 0.45 s in HOOK MODE); as it lands the cart count pops (1 → 1.35 → 1, 0.25 s) and rolls up one; the tapped button shows checkmark + "Added" (#067D62) for 1.2 s; AddedBanner slides up above the tab bar (white card, 12 pt corners, shadow): checkmark.circle.fill #067D62, "Added to cart" (16 pt bold), "Cart subtotal (4 items): $199.96" (13 pt), a small yellow "Go to Cart"; holds 1.6 s, slides down.
7. Cart (tab): the header; "Subtotal $199.96" (PriceText 28 pt); "✓ Your order qualifies for FREE Shipping" (#067D62); "Proceed to checkout (4 items)" (48 pt yellow); rows: photo 120 pt, title (2 lines), PriceText, DealBadge (small), "In Stock" (#007600), PlusBadge + "FREE delivery Tomorrow"; a capsule stepper with a 2 pt #FFD814 border (trash at 1, −, the count rolling, +); white buttons with #D5D9D9 borders "Delete", "Save for later", "Share". Swipe to delete. Empty: "Your Orinoco Cart is empty".
8. Checkout ("Proceed to checkout", or "Buy Now" with just that product): a pushed "Place your order" page: "Deliver to Maya Chen" + the address, "Pay with Visa •••• 4242", "Arriving Nov 21 · FREE Plus delivery" (#007600), thumbnails, Items / Shipping $0.00 / Estimated tax / "Order total" (bold red #B12704), "Place your order" (48 pt yellow). Place: a 0.8 s spinner in the button, then Order placed (full screen, white): checkmark.circle.fill #067D62 72 pt drawing in (trim 0 → 1, 0.4 s), "Order placed, thanks!" (22 pt bold #067D62), "Confirmation will be sent to your email.", "Arriving tomorrow, Nov 21" (bold), thumbnails, "Review or edit your recent orders ›" (teal), "Continue shopping" (yellow). The cart empties (count 0, rolling) and the order joins Your Orders as "Arriving tomorrow".
9. You (tab): "Hello, Maya" (22 pt bold) and an "MC" teal avatar on the gradient; a 2x2 of white capsule buttons "Your Orders", "Buy Again", "Your Account", "Your Lists"; "Your Orders" thumbnails; "Your Lists": "Wish List (6)", "Holiday Gifts (4)"; "Keep shopping for".
10. Your Orders (push): order cards (status line bold, green when arriving, the thumbnails, "Track package" yellow, "View order details").
11. Track package (push, o1): the photo + "Arriving today by 10 PM" (22 pt bold #067D62); a 4-step tracker (Ordered Nov 18 · Shipped Nov 19 · Out for delivery · Delivered) with a box.truck.fill marker at "Out for delivery". Every time it opens: 1.0 s later the truck slides to Delivered (0.8 s), the line fills #067D62, the title rolls to "Delivered today", and the Delivery photo card rises in (delivered.jpg, 12 pt corners, "Your package was left near the front door or porch.", "Delivered 2:14 PM"); success haptic.
12. Menu (tab): a 2-column grid of white tiles with a photo and a label ("Today's Deals", "Black Friday Week", "Your Orders", "Buy Again", "Your Lists", "Orinoco Plus", "Gift Cards", "Customer Service"), then "Shop by Department" rows (Electronics, Home & Kitchen, Fashion, Beauty, Sports & Outdoors).

COMPONENT RULES
- DealBadge is ONE view for every deal mark in the app (badge, "-46%", "Typical price" line, claimed bar), in three sizes (large, tile, small), reading the product and one @Observable DealStore from the environment. It draws an optional stamp (DealStamp?, nil by default, per product id) on top of itself, so a remix can stamp any deal everywhere at once.
- RollingNumber: every price, percent, count and countdown digit rolls (the old digit slides up and out, the new one in), never blinks.
- One shared Clock (one tick per second) drives every countdown.

TOUCH
- TouchFeed (@Observable: location in screen points, isDown): published by a passive window-level touch observer (a UIGestureRecognizer subclass on the key window, cancelsTouchesInView = false, delaysTouchesBegan = false, never recognizes), so it never blocks taps, drags or scrolling.
- TouchDot (HOOK MODE's finger): 44 pt, black 35% fill, a 3 pt white ring, a soft shadow, drawn in a top overlay window above everything; scales in 0.6 → 1.0 (0.15 s); 0.85 while pressed; glides between points (easeInOut). Scripted presses and releases call the same handlers as real touches.

HOOK (the video's first 3 seconds)
- HOOK MODE: tapping an invisible 24x60 pt strip at the LEFT edge (x 0-24, y 400-460 pt), drawn in its own window above every sheet, banner, cover and the tab bar (a tap there closes whatever is open), resets everything and plays DemoScript's steps, identical every time (seconds from the tap):
 0.00 with no animation: Home tab, the product page of p-headphones pushed, gallery on photo 1, cart count 3 (the launch cart), the countdown at "Ends in 05:59:59" (ticking normally from there), every sheet and banner closed, the page scrolled so the gallery's top edge sits right under the header and the gallery, deal badge, price, typical price, claimed bar, delivery lines and both pills are all on screen above the tab bar (shrink the gallery if they don't fit; never cut Buy Now). Every photo already decoded.
 0.00-0.40 hold exactly that.
 0.40 the TouchDot appears over "Add to Cart"; 0.50 press; 0.58 release = Add to Cart through the real code (the 0.45 s flight).
 1.03 the count pops 3 → 4, "Added" on the button, AddedBanner up.
 1.30 the dot fades. Hold.
- DemoScript holds the steps as (absolute time from the tap, action): dotShow(target), dotMove(target, duration), press, release, dotHide, and call(AppAction) for app actions (openProduct(id), addToCart(id), setScroll(section), selectTab(tab), setStamp(productId, DealStamp?)). Targets are named and resolved to screen points when the step runs: product.addToCart, product.buyNow, product.section:<id>, tile:<productId>, tab:<id>. One HookPlayer runs them on the main actor against the tap time (absolute, no drift), never the app's normal delays.
- What the eye must see: frame 0 fully drawn (no fade-in, no grey placeholder); the flying photo visible for the whole arc; counts pop and roll; banners hold ≥1.2 s; flashes ≤0.12 s at ≤35%.

RULES
- Native SwiftUI, iOS 26 (keep the template's target), iPhone portrait. Swift Charts is available.
- Deterministic fixtures. No backend, login, permissions, analytics or network calls at runtime (all photos are bundled). No persistence: delete the SwiftData starter, no UserDefaults or files.
- Preload and decode every image off the main thread at launch; warm up haptics. Files under 300 lines, big bodies split into subviews, no long chained expressions; every animation smooth at 60 fps (the simulator streams video).
- Keep every file inside /home/user/workspace (/tmp is denied).

REMIX-READY
Theme/Theme.swift (colours, fonts, metrics; no colour literals elsewhere), Theme/Brand.swift (name, OrinocoMark, PlusBadge, a Copy enum with every word), Data/ProductCatalog.swift, Data/Fixtures.swift (cart, orders, address, card), Data/DemoScript.swift, Format/. Codable models with String ids (Product, Deal, PricePoint, Review, CartItem, Order, DealStamp) behind one CatalogDataSource protocol (FixtureCatalogSource) feeding @Observable stores (CatalogStore, CartStore, DealStore, OrderStore); views never read the catalogs. Components/: SearchHeader, DeliverRow, PriceText, RollingNumber, DealBadge, ClaimedBar, DealTile, ResultRow, Stars, PlusBadge, FlyToCart, AddedBanner, CartTabIcon, OrinocoTabBar, TouchDot. Features/<Screen>/. README.md under 80 lines: the file map; how to rename, recolour, swap the logo, add a product (photo + one catalog entry), add a product-page section, use DealStore stamps and priceHistory; 3 one-prompt remixes (an Orinoco for your own brand's products with your logo; a campus marketplace where students sell to each other; a grocery app with delivery slots). "Read README.md first." atop CLAUDE.md and ios/AGENTS.md; replace ios/CLAUDE.md's structure block with this app's files. No scratch folders.

FILMING
Long-press the Home tab icon for 1 s to reset everything to launch (cart, orders, stamps, scroll positions, tab).

BUILD
Theme, Brand, Format and the catalog, then the tab bar shell and Home with the header (launch and look first), then the product page with DealBadge, PriceText and RollingNumber, then FlyToCart and AddedBanner, then TouchFeed, TouchDot and HOOK MODE, then the cart, checkout and Order placed, then Search and Results, Today's Deals, You, Your Orders with Track package, and Menu; a one-line status per screen; launch in the simulator every two or three files. Fetch media.zip as soon as the shell runs; check the files exist, never view them. Walk each flow once and fix what breaks; no pixel measuring or debug modes. Deliver the whole app, not a plan. Do not publish.
All templates