Whatnot Clone
Whatnot clone · Live shopping app · from our videos on X
Knickknack is a Whatnot-style live shopping app rebuilt in SwiftUI with its own brand. Open a live show and the seller's video plays under the live chat, the lot card and a countdown; swipe the big yellow pill to bid, rivals bid back, and when the timer hits zero the lot is SOLD, confetti falls and "You won!" drops in. Swipe up for the next live show (sneakers, vintage hoodies, holo cards, bags, coins and more), browse categories, and see every win in Activity with a shipping tracker and Buyer Protection.
- iPhone · Swift
- Built in 1 prompt
- Free to remix

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 27, 2026The prompt that builds it
We built Whatnot Clone in one prompt. Paste it into a new app to build your own copy, or change it first.
Prompt · 3,319 words
Build Knickknack, a polished native iPhone app in SwiftUI: a Whatnot-style live shopping app with its own brand (Knickknack, a code-drawn yellow "kk" tile). The hero is the live show: a full-screen seller video with live chat over it, the lot card with a countdown, and a big yellow swipe-to-bid pill; when the timer hits zero the lot is SOLD, confetti falls and "You won! 🎉" drops in. Swipe up on a show for the next live show. Plus the Home feed of live shows, Browse categories, a Seller Hub, Activity with your purchases, and Account. The user is Alex Rivera (@alexr) in Brooklyn. Today is Friday, November 27, 2026, Black Friday.
ASSETS
curl -L once and unzip flat: https://vibecode-knickknack-media.beacon.host/media.zip (knickknack-icon.png: the app icon; stream-kicks.mp4 + stream-kicks.jpg and stream-thrift.mp4 + stream-thrift.jpg: 720x1280 silent seller videos and their first frames; show-<id>.jpg: 1024x1536 show photos; lot-<id>.jpg: 1024x1024 product photos on white; cat-<id>.png: 1024x1024 transparent category cutouts; av-<name>.jpg: avatars). Add them all to the asset catalog (videos as bundle resources). The logo is drawn in code. No image generation is needed.
SHELL
Opens on Home: no splash, onboarding, sign-in or permission prompts. Light only (force .light), the status bar always visible: dark text on the tab screens, white text on the Live Show. Root = one ZStack: a TabView (Home, Browse, Sell, Activity, Account; SF Symbols house.fill, square.grid.2x2, storefront, bell, person.crop.circle; tint ink) with a NavigationStack per tab, the Live Show cover layer, the sheet layer, the ConfettiLayer, the WonCard layer, the toast, the touch dot, and the HOOK MODE window. Screens under a cover, sheet or card stay rendered at all times.
FORMAT (Format/)
One Money formatter with Locale(identifier: "en_US") ("$60", "$12.40"); the simulator's region is not en_US, never use the device locale. Viewers "1,284" on the Live Show, "1.2K" on tiles. Timer "00:03" (.monospacedDigit()). Prices, viewers and counts roll with .contentTransition(.numericText()).
FIXTURES (Data/: ONE list per kind; a new show, lot or category is one entry)
Me: "Alex Rivera", "alexr", av-me, Visa •••• 4242, "$25.00" Knickknack credit, 38 purchases.
Users (UserCatalog; handle · avatar): kickz_kid · av-sam; sole_sister · av-nina; sneakerhead22 · av-leo; vintage_amy · av-priya; mike_t · av-mike; jordanflips · av-jordan; lindaloves · av-linda; momof3 · av-mom; mayamakes · av-maya.
Shows (ShowCatalog.all, in feed and pager order; id · host · host avatar · rating · title · category · viewers · stream · tile):
kicks · kicksvault · av-kicks · 4.9 · "Black Friday Kicks 🔥 $1 Starts" · Sneakers & Shoes · 1,284 · video stream-kicks · stream-kicks.jpg
thrift · thriftqueen · av-thrift · 5.0 · "Vintage Hoodies $5 Starts ✨" · Vintage Fashion · 812 · video stream-thrift · stream-thrift.jpg
cards · cardcartel · av-leo · 4.9 · "Holo Hits Night 🃏 PSA Slabs" · Trading Cards · 2,431 · photo show-cards
bags · bagsbybree · av-linda · 5.0 · "Designer Bags Black Friday 👜" · Bags & Accessories · 2,710 · photo show-bags
coins · coinroom · av-sam · 4.8 · "Silver Stackers Night 🪙" · Coins & Money · 734 · photo show-coins
toys · vinylvault · av-jordan · 4.9 · "Vinyl Figures $1 Starts" · Toys & Hobbies · 872 · photo show-toys
plants · plantmom.nyc · av-maya · 5.0 · "Rare Plants $1 Starts 🌿" · Home & Garden · 693 · photo show-plants
comics · comicsden · av-mike · 4.7 · "Dollar Bin Comics 💥" · Comics · 512 · photo show-comics
vinyl · cratedigger · av-nina · 4.9 · "Black Friday Crate: Records" · Music & Vinyl · 455 · photo show-vinyl
Lots (each show's lots in order; id · title · details · shipping · photo · ladder · start):
kicks: chicago · "Retro High '85 'Chicago'" · "1 Available · Size 10 · New with box" · "$12.40 Shipping + Taxes" · lot-chicago · dollars from $40 by $5 · $45 by sole_sister, 20 s; panda · "Dunk Low 'Panda'" · "1 Available · Size 9 · New with box" · "$12.40 Shipping + Taxes" · lot-panda · dollars from $1 by $1 · no bids, 20 s; runner · "Cloudfoam Runner" · "1 Available · Size 8 · Like new" · lot-runner · dollars from $1 · 20 s.
thrift: hoodie · "Vintage Heather Hoodie" · "1 Available · Size L · Soft and faded" · "$6.95 Shipping + Taxes" · lot-hoodie · dollars from $5 by $1 · 20 s; then a giveaway lot "Giveaway: Mystery Vintage Tee" (kind .giveaway, 15 s, the winner is alexr).
Every other show has one lot: cards holo "Graded Holo Dragon · PSA 10"; bags bag "Quilted Chain Bag"; coins coin "1 oz Silver Eagle Round"; toys figure "Astro Cat Vinyl Figure"; plants plant "Variegated Monstera"; comics comic "Vintage Hero #1"; vinyl record "Sunset Sessions LP" (photo lot-vinyl); dollars from $1, 20 s.
Chat (each show's ChatScript: 8 lines that cycle every 1.6 s; kicks: kickz_kid "those are clean 🔥", sole_sister "size 10??", sneakerhead22 "W stream", mike_t "first time here 👋", jordanflips "chicago szn", lindaloves "my son needs these", momof3 "how's the sizing?", kicksvault (host, yellow) "true to size, DS with box"; the others in the same spirit).
Categories (CategoryCatalog; id · name · cutout · viewers): cards · Trading Card Games · cat-cards · 2.3K; sports · Sports Cards · cat-sports · 3.7K; sneakers · Sneakers & Shoes · cat-sneakers · 2.4K; toys · Toys & Hobbies · cat-toys · 872; fashion · Vintage Fashion · cat-fashion · 1.2K; coins · Coins & Money · cat-coins · 734; food · Food & Drink · cat-food · 693; bags · Bags & Accessories · cat-bags · 2.7K; electronics · Electronics · cat-electronics · 1.1K; garden · Home & Garden · cat-garden · 601; comics · Comics · cat-comics · 512; vinyl · Music & Vinyl · cat-vinyl · 455.
AUCTION (Auction/: the seams a remix uses)
- BidStep: price (the label on the lot card: "$60"), button (the bid pill's label: "Bid $60"). Ladder.dollars(from:by:count:) builds dollar ladders. A Lot has id, title, details, shipping, photo, kind (.auction or .giveaway), ladder [BidStep], start (stepIndex or nil, bidder handle or nil, seconds), rivals [(secondsLeft, handle)] for normal play, and wonLine (String?; nil = "<price> · Paid with Visa •••• 4242"). A Show has id, host, avatar, rating, title, category, viewers, stream (.video(name) or .photo(name)), tile, chat, lots. A new show is ONE entry in ShowCatalog.all and appears everywhere (Home, Browse, the pager) with no other code changes.
- AuctionEngine (@Observable, one per show, owned by ShowStore): the current lot, stepIndex, highBidder, secondsLeft, state (.live, .sold(winner), .awaiting). placeBid(by:) is the ONE path a real swipe, rival bids and the script use: the price rolls to the next BidStep's price, the winning pill flips ("kickz_kid is winning!" or "You're winning!"), the bid pill's label becomes the step after it. tick() shows one second less (a real 1 s timer in normal play); at 0 it calls sell(). sell(): the lot card shows the price and "Sold" (red), the winning pill reads "<handle> won!" or "You won!"; if I won: ConfettiLayer bursts, the WonCard drops, the Purchase joins Activity. 1.6 s after a sale the next lot comes up ("Awaiting Next Item" in between); after the last lot the show starts over.
- ShowPager: every show in one vertical pager driven by ONE offset; a vertical drag on the stream (not on the bid pill, chat field or rail) follows the finger and settles on the next or previous show (release past 25% of the height or a fast flick, spring 0.35 s). nextShow() animates the same offset (0.28 s easeInOut). The show that settles starts its lot from its `start`.
- Video: one AVQueuePlayer + AVPlayerLooper per video show, created and prerolled at launch, muted, aspect-fill; its first-frame JPG is drawn under the player until isReadyForDisplay, so a video never shows a black frame. A photo stream draws its photo at 1.1x with a slow handheld sway (a pure function of time: x = 5 sin(0.9t) + 2 sin(2.3t), y = 4 sin(0.7t + 1), rotation 0.4° sin(0.5t)).
- ConfettiLayer: 80 squares (6-10 pt) and 14 thin curly streamers in yellow #FFD60A, pink #FF4FA3, blue #3D7BFF, green #34C759, orange #FF9500 and purple #AF52DE, falling from above the top edge with drift and spin over 1.8 s, drawn in one Canvas as a pure function of seed and time (no per-piece views), above the show and under the WonCard.
- WonCard: drops from under the top bar (spring 0.35 s), 16 pt side margins, #141416 at 92% with a hairline white 12% border, corner 22: "You won! 🎉" (22 pt bold white, centred), an inner capsule (#000 40%, hairline border) with the lot title in yellow (17 pt semibold), the wonLine (14 pt, white 70%), an xmark at the top right. Stays 2.2 s, then lifts away.
- Toast: a dark capsule (#141416 at 92%) above the lot card, white 15 pt semibold, springs in, stays 1.6 s.
SCREENS
1. Home: a top bar: the logo tile (34 pt), a search capsule "Search Knickknack" (magnifyingglass, #F4F4F6, 40 pt), then bubble.left and bell buttons. A row of 4 shortcut cards (84x92 pt, corner 14, #F4F4F6, a cutout image and a 12 pt semibold label): "For You" (selected: 2 pt #FFD60A border), "Followed Hosts", "Sneakers", "Black Friday 🔥". Then a 2-column grid of ShowTiles (16 pt margins, 12 pt gaps): the host row (avatar 22 pt, handle 13 pt semibold), the tile photo 3:4 corner 12 with a red #FF2D55 capsule "Live · 1.2K" (white 11 pt bold, a white dot) at the top left, under it the title (14 pt bold, 2 lines) and the category in blue #2B6BFF (12 pt semibold) + " · $1 Starts" (secondary). A tile opens the Live Show at that show. Pull to refresh rolls every viewer count.
2. Browse: "Browse" (34 pt heavy), chips "Recommended" (selected, ink fill, white text), "Popular", "A–Z" (re-sorts), then a 3-column grid of CategoryCards (#F4F4F6, corner 14, ~115x130 pt): the name (13 pt semibold, 2 lines) at the top left, the cutout (64 pt) centred, a red dot + "2.3K Viewers" (11 pt secondary) at the bottom. A card pushes that category's shows as a ShowTile grid.
3. Sell (Seller Hub): "Seller Hub" (34 pt heavy), a stats card (#F4F4F6, corner 18): "Sales" "$1,310" (28 pt heavy green #1F9D55) and "Orders" "108"; tabs "Watching | Activity"; an activity list (avatar, "gardenkid29 tipped $5! · 1m", "mistique bought Hoya Rope · $22 · 1m", 8 rows), and a yellow "Start a show" button (a toast "Your show starts at 8 PM 🎥").
4. Activity: "Activity" (34 pt heavy), chips "Purchases | Bids | Saved". Purchases: rows (photo 56 pt corner 10, title, "$60 · Paid", status "Ships in 2 days" in green); 3 fixture purchases plus everything won this session at the top. A row pushes the Purchase page: the photo, title, price, a 3-step tracker (Paid ✓ → Shipped → Delivered), the seller row, and a "Knickknack Buyer Protection" card (checkmark.shield.fill in yellow, "Get what you bought, or we'll make it right.").
5. Account: av-me (72 pt), "Alex Rivera", "@alexr · ★ 5.0 buyer · 38 purchases", grouped rows: Payments (Visa •••• 4242), Knickknack credit ($25.00), Addresses, Saved shows, Notifications, Help, Sign out (toast).
6. Live Show (full-screen cover over the tabs, black background, the stream edge to edge under the status bar; top to bottom on the 402x874 pt iPhone):
- Top bar (under the status bar): the host avatar (36 pt), the handle (16 pt semibold white) over "★ 4.9" (13 pt white 85%), a small yellow "Follow" capsule (becomes "Following"); at the right a capsule (#000 45%) with a red #FF2D55 circle holding chart.bar.fill in white and the viewer count (17 pt semibold white, rolls ±1-3 every 2-3 s), and a 36 pt circle (#000 45%) with chevron.down that closes the cover. A soft black gradient (40% → 0) behind the top 120 pt.
- Chat: bottom-left, ~68% wide, above the "Say something..." field; the last 6 lines, each a 30 pt avatar, the handle (13 pt semibold white 65%) over the text (15 pt semibold white, a soft shadow); host and my lines in yellow #FFD60A. A new line slides up (0.2 s); the top line fades out under a gradient mask.
- "Say something..." field: a 44 pt capsule with a 1 pt white 35% border, placeholder white 60%; typing and Return sends a yellow "alexr" line.
- Right rail (bottom-right, above the lot card): Mute (speaker.slash.fill / speaker.wave.2.fill), Share (square.and.arrow.up, a ShareLink), Wallet (creditcard, a sheet with the credit and the card), Shop (storefront in a 52 pt #000 45% circle with a white badge "117"; a sheet listing the show's lots); white 24 pt icons with 11 pt labels.
- The winning pill: just above the lot card at the left, a capsule (#000 55%): a 22 pt avatar + "kickz_kid" + " is winning!" in yellow (15 pt semibold); mine: "You're winning!"; after a sale "<handle> won!" / "You won!". Hidden while nobody has bid.
- The lot card (a black gradient behind the bottom 260 pt): the photo (64 pt, white, corner 10), the title (18 pt bold white, 1 line), the details (14 pt white 80%), the shipping (13 pt white 55%); at the right the price (24 pt heavy white, rolls) over the timer (16 pt semibold, white 75%, red #FF3B30 at 5 s and under) or "Sold" (16 pt semibold red #FF453A).
- The bid pill (BidSlider, 16 pt margins, 60 pt tall): a track capsule with a 2 pt #FFD60A border; inside, a yellow #FFD60A knob capsule 78% of the track's width with the button label (20 pt bold #0B0B0C) and chevron.right.2 after it. Dragging the knob right moves it with the finger (it can travel to the track's right edge); released past 70% of its travel it snaps to the end, the bid is placed (light haptic, a 0.12 s white flash at 25% on the knob) and the knob springs back (0.15 s) reading the next button label; released earlier it springs back with no bid. While the lot is sold or awaiting, the slider is replaced by a grey capsule (#FFFFFF 22%) "Awaiting Next Item" (18 pt semibold white 80%). A giveaway lot shows a yellow-bordered "Enter Giveaway" capsule instead ("Entered ✓"); at 0 a "Giveaway winner" WonCard names the winner in yellow with confetti.
HOOK (the video's first seconds)
- ScriptStep (absolute seconds from the start, action): reset, dot(to:, duration:), dotHide, drag(from:, to:, duration:), call(action). ScriptPlayer runs a [ScriptStep] on the main actor against its start time (absolute times, so drift never builds). Scripted steps call the same code as real touches. Every wait uses the step's own time, never the app's normal delays; the engine's real 1 s timer and the rival bids are paused while a script runs.
- DemoScript helpers a remix appends to: swipeBid(start:) = the dot lands on the knob's left third, drags the knob to the end of the track over 0.18 s, the bid is placed (by me) the moment the knob arrives; rivalBid(start:handle:) = placeBid(by:); chat(start:handle:text:); tick(start:) = AuctionEngine.tick() (at 0 it sells); nextShow(start:) = the dot lands mid-stream at (201, 470), drags up 300 pt over 0.28 s while the pager follows that same offset, and the next show settles with its lot started from its `start`; toast(start:text:); dotHide(start:). Positions come from the real frames (anchor preferences), never hardcoded.
- HOOK MODE: tapping an invisible 24x60 pt strip at the LEFT edge (x 0-24, y 250-310 pt), drawn in its own window above the Live Show, every sheet and card (a tap there closes whatever is open), resets everything and plays DemoScript.hook, identical every time (seconds from the tap):
0.00 reset with no animation: the Live Show cover open on kicksvault's show (pager at show 1), its video restarted from 0 and already playing, the chat already filled with its first 6 lines, viewers 1,284, the lot "Retro High '85 'Chicago'" live at "$55" by kickz_kid ("kickz_kid is winning!"), the timer at "00:03" (red), the knob reading "Bid $60" and ALREADY dragged 40% of its travel, the dot ALREADY VISIBLE on it; no WonCard, confetti or toast.
swipeBid(start: 0.00) continuing from 40%: the knob reaches the end at 0.18 and the bid lands: "$55" rolls to "$60", "You're winning!", the knob springs back reading "Bid $65". chat(0.20, alexr, "60 🔥").
dotHide(0.45). tick(0.40) → "00:02"; chat(0.42, kickz_kid, "nooo 😭"); tick(0.70) → "00:01"; chat(0.72, sole_sister, "GG 👏"); tick(1.00) → "00:00": sold to me at 1.00 (confetti, "$60" + "Sold", "You won!", the WonCard "Retro High '85 'Chicago'" / "$60 · Paid with Visa •••• 4242", the slider becomes "Awaiting Next Item").
2.60 the next lot "Dunk Low 'Panda'" goes live ("$1", "00:20"); rivalBid(3.10, sneakerhead22); chat(3.20, mike_t, "W stream"). Then hold (real taps work again).
- What the eye must see: frame 0 fully drawn (the video, top bar, chat, the lot card, the knob mid-swipe under the dot; no fade-in, no black frame); the price rolls, never jumps; the knob never vanishes or jumps; the WonCard and confetti sit above everything except the dot.
- TouchDot: drawn above everything in HOOK MODE only: a 44 pt circle, black 35% fill, a 3 pt white ring, a soft shadow; scales in as it lands (0.12 s), glides between points, and drags the knob with it.
LOOK
Knickknack brand: yellow #FFD60A (the bid pill, highlights, selection), ink #0B0B0C, live red #FF2D55, sold red #FF453A, link blue #2B6BFF, cards #F4F4F6, secondary #6E6E73, white backgrounds on the tabs, dark overlays #141416. The logo: a 34 pt #FFD60A squircle (corner 9) with "kk" in SF Pro Black (19 pt, tracking -1.2, ink) centred. SF Pro (titles .heavy, never rounded). Springs under 450 ms, light haptics on bids, pressed states (scale 0.96). Photos decoded at launch off the main thread into one image cache.
RULES
- Native SwiftUI, iOS 26 (keep the template's target), iPhone portrait.
- Deterministic fixtures. No backend, login, permissions, notifications, analytics or network calls at runtime. No persistence: delete the SwiftData starter, no UserDefaults or files.
- Files under 300 lines, big bodies split into subviews, no long chained expressions; every animation smooth at 60 fps.
- Keep every file inside /home/user/workspace (/tmp is denied).
REMIX-READY
Theme/Theme.swift (colours, fonts, metrics; no colour literals elsewhere), Theme/Copy.swift (every word), Data/ShowCatalog.swift, Data/LotCatalog.swift, Data/UserCatalog.swift, Data/CategoryCatalog.swift, Data/Fixtures.swift, Data/DemoScript.swift. Codable models with String ids (Show, Lot, BidStep, ChatLine, Category, Purchase) behind one ShowDataSource protocol (FixtureSource) feeding ShowStore. AuctionEngine, ShowPager, StreamView, BidSlider, ConfettiLayer, WonCard and ScriptPlayer are the seams. Components/: ShowTile, CategoryCard, LiveBadge, LogoTile, StreamView, ChatOverlay, LotCard, WinningPill, BidSlider, RightRail, WonCard, ConfettiLayer, TouchDot, Toast; Features/Home, Features/Browse, Features/Sell, Features/Activity, Features/Account, Features/LiveShow. README.md under 80 lines: the file map; how to rename the app, restyle it, add a show (one ShowCatalog entry + its video or photo), a lot or a category; 3 one-prompt remixes (a farmers-market auction app; a school fundraiser auction where bids are raffle tickets; a live drop app for a sneaker store). "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 logo tile for 1 s to reset everything to launch (Home, fixtures, no session purchases).
BUILD
Theme, Copy, Format and the catalogs, then Home with the tab bar (launch and look first), then the Live Show with StreamView (video and photo), the top bar, chat, rail, lot card and BidSlider, then AuctionEngine, the pager, ConfettiLayer and WonCard, then Browse, Sell, Activity and Account, then ScriptPlayer, TouchDot, Toast and HOOK MODE; 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.More templates
All templates- View template

Chipotle Clone
iOSA Chipotle-style bowl builder: every ingredient flies into the foil bowl, guac is extra, queso pours on top.
- View template

Peel Card
iOSA paper Christmas card you tear open with your finger, strip by strip, to find the note inside.
- View template

Instacart Clone
iOSAn Instacart-style grocery app: add to cart, a live shopper, replacements you approve, delivery tracking.
- View template

Tilt
iOSWatch faces piled with tennis balls, diamonds, basketballs, gold bars and soccer balls that roll as you tilt.




