Notion Clone (Blockyard)

Notion clone · Docs app · from our videos on X

Blockyard is a Notion-style workspace built in SwiftUI. Pages have a big emoji icon and cover, and you type into blocks: start a line with / to turn it into a to-do, heading, toggle or callout, and check to-dos off. Databases open as boards: long-press a card and drag it to another column, where the counts roll and a column can stamp or throw confetti; switch to Table, or open a card to change its Status. Home, Search and Inbox are filled with fictional pages and people, ready for your own workspace.

  • iPhone · Swift
  • Built in 1 prompt
  • Free to remix
Notion Clone (Blockyard), docs 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 · Dec 4, 2026

The prompt that builds it

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

Prompt · 3,142 words

Build Blockyard, a polished native iPhone app in SwiftUI: a Notion-style all-in-one workspace with its own brand (Blockyard: a code-drawn white rounded square with a thick #191919 outline, a solid #191919 copy of it offset down-right like a block's side, and a bold serif "B" inside). White pages with a big emoji icon and a title, blocks you type into with a "/" menu, to-dos that check off, toggles, and databases shown as boards whose cards you long-press and drag between columns. Plus Home, card pages with properties, a table view, Search and Inbox. Local fixtures only: no network, accounts or permissions. The user is Alex Rivera. Today is Friday, December 4, 2026.

ASSETS
curl -L once and unzip flat: https://blockyard-d638.beacon.host/media.zip (blockyard-icon.png: set it as the app icon). Covers, avatars and the logo are drawn in code. No image generation is needed.

SHELL
Opens on Home: no splash, onboarding, sign-in or permission prompts. Light mode everywhere (force .light); the status bar stays visible and dark. Root = one ZStack: the TabView (Home, Search, Inbox, New page), the overlay layer (the slash menu, the property menu, the toast: views in this same ZStack, never sheets or fullScreenCovers), and the demo window (TouchDot + HOOK/TOUR strips) on top. Each tab has its own NavigationStack(path:) so pages push and pop with the native slide. When anything leaves, the screen under it is already rendered: never a black or blank frame.

LOOK
Background #FFFFFF, sidebar-grey #F7F7F5, hover-grey #F1F1EF, text #37352F, secondary #787774, tertiary #9B9A97, hairlines #E9E9E7, blue #2383E2. SF Pro everywhere. Tag colours (pill bg / text / dot / column tint): gray #E3E2E0 / #32302C / #91918E / #F7F7F5; brown #EEE0DA / #442A1E / #A27763 / #FAF6F4; orange #FADEC9 / #49290E / #CC782F / #FCF6F1; yellow #FDECC8 / #402C1B / #CB9433 / #FCF9F0; green #DBEDDB / #1C3829 / #6C9B7D / #F4F8F3; blue #D3E5EF / #183347 / #5B97BD / #F2F7FB; purple #E8DEEE / #412454 / #9A6DD7 / #F8F5FA; pink #F5E0E9 / #4C2337 / #CD7495 / #FBF5F8; red #FFE2DD / #5D1715 / #E16F64 / #FDF5F4. Pills: 4 pt corners, 8/2 pt padding, 13 pt medium. Avatars: circles with initials (white 600) on a tint. Springs under 450 ms, light haptics on taps, pressed states (scale 0.97 or a #F1F1EF highlight).

FORMAT
One DateFormatter set with Locale(identifier: "en_US"): "December 8, 2026", "Dec 8", "January 16, 2026 → February 4, 2026". Money "$80". The simulator's region is not en_US: never use the device locale.

DATA (Data/: ONE catalog; a new page, database, column or card is one entry)
Person: Alex Rivera (AR, green), Maya Chen (MC, purple), Sam Patel (SP, blue), Jordan Lee (JL, orange).
Block kinds: paragraph, heading1, heading2, heading3, bullet, numbered, todo(checked), toggle(children, open), callout(emoji, tint), quote, divider, pageLink(pageId). Inline mentions "@Maya Chen" (#787774 text, the "@" at 60%) and date mentions "@Sunday" (#2383E2).
WorkspaceCatalog.pages (icon · title · cover gradient or none · favorite · blocks):
- notes · 📝 · "Meeting Notes" · #A1C4FD → #C2E9FB · favorite · H2 "Weekly sync · Dec 4"; paragraph "Attendees: @Maya Chen @Sam Patel @Jordan Lee"; callout 💡 (yellow) "v2 ships Friday. Main freezes Thursday at 6 PM."; H3 "Action items"; todo checked "Send the beta invite email"; todo "Record the demo video @Jordan Lee"; todo "Update the pricing page @Sam Patel"; toggle "Decisions" (bullets "Launch on Tuesday", "Keep the free plan", "No new features until v2 ships"); quote "Ship it, then make it pretty."; divider; an empty paragraph (id "block-last").
- todo · 🗒️ · "To-Do" · none · favorite · callout 💡 (yellow) "I use this page to take quick notes of ideas and reminders of things to do"; todos "water plant @Sunday ⏰", "call mom", "🛒 supermarket list", "renew passport", "book the dentist".
- wiki · 🧑‍💻 · "Alex's wiki" · #434343 → #000000 · private · H2 "Growth", page links (📝 Meeting Notes, 🗒️ To-Do), H2 "Personal", page links (✈️ Travel, 📚 Reading List).
WorkspaceCatalog.databases (icon · title · description · views · group-by columns · cards). Card = id · icon · title · detail? · column · person? · date? · priority? (High red, Medium yellow, Low gray) · body blocks.
- q4 · 🚀 · "Q4 Launch" · "Everything for the v2 launch." · Board, Table · Status: notStarted "Not started" gray, inProgress "In progress" blue, done "Done" green · cards: notStarted: 🎬 "Record demo video" Jordan Dec 8 Medium (id demo); 💳 "Update pricing page" Sam Dec 9 High (id pricing); 📣 "Write launch post" Alex Dec 10 Low. inProgress: 🚢 "Ship v2" Maya Dec 5 High (id ship); 🐛 "Fix onboarding bug" Sam Dec 4 High. done: 🎨 "New logo" Jordan Nov 20; 📋 "Beta waitlist" Alex Nov 24; ✍️ "Landing page copy" Maya Nov 28; 📈 "Set up analytics" Sam Dec 1. Each card's body: a paragraph and two todos about it.
- gifts · 🎁 · "Gift Ideas" · "Holiday shopping, 2026." · Board, Table · List: ideas "💡 Ideas" yellow, bought "🛒 Bought" blue (dropEffect .stamp("BOUGHT")), wrapped "🎀 Wrapped" green (dropEffect .confetti) · cards (title = who, detail = the gift): ideas: 🧣 "Mom" "Cashmere scarf · $80" (id mom); 🍕 "Dad" "Pizza oven · $129"; 🐶 "Biscuit" "Squeaky reindeer · $12" (id biscuit). bought: 📚 "Sam" "Signed first edition · $45"; 🎧 "Maya" "Record player · $99" (id maya). wrapped: 🧦 "Grandma" "Fuzzy socks · $18".
- reading · 📚 · "Reading List" · none · Table · Status: want "Want to read" gray, reading "Reading" blue, finished "Finished" green · "The Quiet Engine" L. Moreau finished ★★★★; "Ninety Days of Rain" Ada Okafor reading; "Paper Lanterns" J. Hart want; "Build Slow, Ship Fast" R. Kim finished ★★★★★; "The Map Room" E. Novak want.
- travel · ✈️ · "Travel" · none · List · rows with a date range: 🇯🇵 Tokyo Jan 16 → Feb 4, 2026; 🇵🇹 Lisbon Apr 5 → Apr 12, 2026; 🇲🇽 Mexico City Jun 2 → Jun 9, 2026; 🇮🇸 Reykjavík Sep 18 → Sep 24, 2026; 🎄 Christmas at Mom's Dec 23 → Dec 27, 2026.
BoardColumn(id, title, color, dropToast: String? = nil, dropEffect: DropEffect = .none). DropEffect: .none, .confetti (28 pieces bursting up from the card in the column's colours, pure functions of seed and time, 1.0 s), .stamp(String) (the word in 24 pt heavy caps, the column's dot colour, a 3 pt outline in the same colour, rotated −12°, slams onto the card from scale 1.8 to 1.0 in 0.18 s with a medium haptic and stays on that card).

BOARD (Components/Board/: the signature)
- A horizontal ScrollView of columns with 12 pt side insets; columns 183 pt wide with 12 pt gaps, so two columns fill the screen. Column: 10 pt corners in its tint; header: the pill (a 6 pt dot + name) and the count (13 pt #9B9A97) beside it; cards 8 pt apart; "+ New page" (14 pt #9B9A97) at the foot. The board scrolls the page vertically with the header.
- Card: white, 1 pt #E9E9E7 border, 6 pt corners, a soft shadow (black 6%, radius 2, y 1), 10 pt padding: icon + title (15 pt semibold #37352F, 2 lines max, never truncating to one word), the detail (13 pt #787774) if any, the status pill + priority pill, and a row with the person (18 pt avatar + first name 13 pt) and the date (13 pt #787774).
- Drag: a real long-press (0.3 s) then drag, through ONE DragController that HOOK MODE and TOUR MODE drive too. Lift: the card scales to 1.04, rotates 2.5° clockwise, its shadow grows (black 18%, radius 14, y 8), and it is drawn in a layer above the board under the finger (held at the grab point), fully opaque the whole time. Its old slot closes (0.2 s) and the column under the finger opens a gap the card's height at the insertion index (cards below slide down 0.2 s) with a 2 pt #2383E2 line at the gap's top. Drop: the card flies into the gap (spring 0.25 s back to scale 1 and 0°): never a frame with the card gone or doubled. Then its pill swaps word and colours in one 0.15 s crossfade, both column counts roll (.contentTransition(.numericText())), a light haptic, the target column's dropEffect plays and its dropToast shows. A drag near the left or right 40 pt auto-scrolls the board.

SCREENS
1. Home: top row: the workspace button (a 26 pt #F1F1EF rounded square with "A", "Alex's Blockyard" 16 pt semibold, chevron.up.chevron.down 11 pt; "alex@blockyard.app" 12 pt #9B9A97 under it); ellipsis and square.and.pencil (20 pt) at the right. "Jump back in" (13 pt semibold #9B9A97) with a horizontal row of 128x116 cards (8 pt corners, #E9E9E7 border): a 64 pt cover (the page's gradient, or its tag tint), the emoji (28 pt) overlapping the cover's bottom-left, the title (13 pt semibold, 2 lines). Order at launch: Gift Ideas, Q4 Launch, Meeting Notes, To-Do, Travel. Then "Favorites" and "Private" sections: 36 pt rows with a disclosure chevron (12 pt #9B9A97, rotates 90° to show sub-pages), the emoji, the title 15 pt, a "+" at the right. Favorites: Meeting Notes, To-Do, Q4 Launch, Gift Ideas. Private: Alex's wiki, Reading List, Travel.
2. Page (pushed): nav bar: back chevron, the breadcrumb (emoji + title 15 pt), square.and.arrow.up, bubble.left, ellipsis. Cover 180 pt (if any), the emoji 56 pt overlapping the cover by 28 pt (or at the top), the title 30 pt bold, then blocks with 20 pt insets: paragraph 16 pt (1.5 line height), H1 26 bold, H2 21 semibold, H3 18 semibold, bullets, numbers, to-dos (an 18 pt square, 1.5 pt #37352F border, 3 pt corners; checked fills #2383E2 with a white checkmark in 0.15 s while the text turns #9B9A97 with a strikethrough), toggles (triangle.fill 10 pt rotating 90°, children slide in 0.2 s), callouts (tint bg, 6 pt corners, emoji + 15 pt text), quotes (3 pt #37352F bar, 17 pt), dividers, page links (emoji + title with a #E9E9E7 underline; tap pushes). Editing: tap a block → its own TextField(axis: .vertical) in place, same font, no jump. Return adds a block below (a to-do after a to-do, else a paragraph); Return on an empty to-do or bullet makes it a paragraph; Backspace on an empty block deletes it. An empty focused block shows "Type '/' for commands" in #9B9A97.
Slash menu: "/" at the start of a block opens a card under the block (white, 8 pt corners, shadow black 12% radius 16, 290 pt wide, 6 rows visible): "Basic blocks" (12 pt #9B9A97), rows: a 40 pt #F1F1EF tile with the glyph (Aa, H1, H2, H3, checkmark.square, list.bullet, list.number, arrowtriangle.right.fill, lightbulb, text.quote, minus, doc), the name (15 pt) and a description (12 pt #9B9A97: "Track tasks with a to-do list."). Text after "/" filters live; a row tap turns the block into that kind (the "/query" text removed).
3. Database page (pushed): the same nav bar; the emoji 40 pt, the title 30 pt bold, the description (15 pt #787774); the view tabs row (an SF Symbol + the view name, 14 pt; the selected #37352F with a 2 pt underline, others #787774; square.grid.3x1.below.line.grid.1x2 Board, tablecells Table, list.bullet List) with magnifyingglass, line.3.horizontal.decrease and arrow.up.arrow.down (16 pt #9B9A97) and the "New" button (#2383E2, white 14 pt semibold, 6 pt corners, a divider + chevron.down) at the right. A tab tap crossfades views (0.2 s). Table: a horizontally scrolling grid, 40 pt rows, hairlines, a header with property glyphs (Aa Name, Status, Assignee, Due, Priority). List: 52 pt rows (emoji, title 15 pt, the date range 13 pt #787774). Card tap → the card page.
4. Card page (pushed): the breadcrumb "🚀 Q4 Launch / 🎬 Record demo video", the icon 44 pt, the title 28 pt bold, property rows (38 pt: an SF Symbol and the name in #787774 at 110 pt width, then the value: Status pill, Assignee avatar + name, Due "December 8, 2026", Priority pill), a hairline, "Add a comment…" with Alex's avatar, then the body blocks. A pill tap opens the property menu (overlay card under the row: each option as its pill, a checkmark on the current); picking one closes it, changes the card and moves it to that column on the board.
5. Search: a #F1F1EF field ("Search Alex's Blockyard", magnifyingglass), "Recent" rows (emoji, title 15 pt, the parent path 12 pt #9B9A97); typing filters every page, database and card by title live; a tap pushes it.
6. Inbox: "Inbox" 28 pt bold; rows with an avatar, a bold name + "mentioned you in" + the page, a #9B9A97 snippet and an age: Maya Chen in 🚀 Q4 Launch ("@Alex Rivera can you check the pricing copy?") 2h; Sam Patel commented on 🐛 Fix onboarding bug ("Fixed on staging 🎉") 5h; Jordan Lee invited you to 🎄 Holiday Party 1d. A tap pushes the page.
7. Tab bar: white with a hairline; house, magnifyingglass, tray, square.and.pencil (22 pt, no labels; selected #37352F, others #9B9A97). New page pushes an "Untitled" page with the title focused.
Toast: a #191919 rounded rect (8 pt corners, white 14 pt medium, 12/9 pt padding) that slides up above the tab bar (0.2 s), holds 1.6 s, fades 0.2 s.

DEMO ENGINE (Data/DemoScript.swift, Demo/)
- Every element a script touches registers its frame with .demoTarget("…") (an anchor preference): "back", "workspace", "jump-<dbId or pageId>", "fav-<id>", "card-<id>", "column-<id>", "view-board", "view-table", "block-<id>", "check-<blockId>", "toggle-<blockId>", "slash-<kind>", "prop-status", "opt-<columnId>", "tab-home", "tab-search", "tab-inbox", "result-<id>".
- DemoStep (absolute seconds from the start): reset(to: Route, boardOffset: columnId) (no animation), lift(cardId, at: fraction toward a column) (drawn at once, mid-air), dot(target, glide), press (the TouchDot presses where it is, then that target's real action runs), carry(to: columnId, index, duration) (the dot glides easeInOut and the held card follows it every frame through the DragController), drop, scrollBoard(to: columnId, duration), type(text) (characters appended to the focused block, 0.045 s each, through the real editor), hideDot. ScriptPlayer runs a [DemoStep] on the main actor against its start time (absolute times, so drift never builds).
- DemoScript.hook(open: dbId, moves: [(cardId, columnId)]) builds HOOK MODE's steps; a remix changes only the arguments.
- TouchDot: above everything (44 pt, black 35%, a 3 pt white ring, soft shadow); scales in as it lands, glides between targets (0.2 s ease), presses (scale 0.85, 0.1 s); while carrying it sits on the card's grab point; hideDot fades it (0.25 s).

HOOK (the video's first 3 seconds)
HOOK MODE: tapping an invisible 20x60 pt strip at the RIGHT edge (x 382-402, y 500-560 pt), in its own window above everything (a tap there closes whatever is open), resets everything and plays DemoScript.hook(open: "gifts", moves: [("mom", "bought"), ("biscuit", "bought")]) through the real ScriptPlayer, stores and views, identical every time (seconds from the tap):
0.00 with no animation: Home underneath, the Q4 Launch board pushed on top, Board view, the board scrolled so "In progress" is the first column at the left inset and "Done" fills the right; "Ship v2" already lifted under the TouchDot halfway between the two columns, a gap open at the top of Done (counts In progress 2, Done 4). Jump back in at Home lists the hook's database first. 0.00-0.20 hold exactly that.
0.20 carry(to: done, 0, 0.35). 0.60 drop (counts 1 and 5, the pill turns green "Done"). 0.95 dot to "back", 1.10 press (pop to Home). 1.45 dot to "jump-<dbId>", 1.60 press (push its board, offset 0). Then for each move, starting 2.00 and every 1.05 s: dot to the card (0.15 s), lift at +0.15, carry to the column's top (0.40 s) at +0.25, drop at +0.70. Hold 0.50 after the last drop, then hideDot.
- Every wait uses the hook's own times, never the app's normal delays. Frame 0 fully drawn; something moves every half second; no flash longer than 0.1 s.

TOUR MODE (for filming the app's other moves)
Tapping an invisible 20x60 pt strip at the LEFT edge (x 0-20, y 500-560 pt), same window, resets and plays DemoScript.tour (seconds from the tap): 0.0 Home at the top; 0.8 press fav-notes; 1.8 press block-last (focus); 2.3 type "/" (the slash menu pops); 2.9 type "to" (filters to To-do list and Toggle list); 3.5 press slash-todo; 3.9 type "Book the holiday party 🎉"; 5.4 press check-block-last (it checks off); 6.2 press toggle-decisions (opens); 7.2 press back; 8.0 press fav-q4 (board at offset 0); 9.0 press card-demo; 10.0 press prop-status; 10.8 press opt-inProgress; 11.6 press back (the card now tops In progress); 12.4 press view-table; 13.6 press view-board; 14.4 press tab-search; 15.0 type "gift"; 16.0 press result-gifts; 16.8 scrollBoard(to: bought, 0.4); 17.4 dot to card-maya, 17.55 lift, 17.65 carry(to: wrapped, 0, 0.45), 18.15 drop (confetti); 19.2 press tab-inbox; 20.2 press tab-home; 20.8 hideDot. Every press runs the real action.

RULES
- Native SwiftUI, iOS 26 (keep the template's target), iPhone portrait.
- Deterministic fixtures. No backend, login, permissions, audio, network calls at runtime, notifications or analytics. 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, tag colours, fonts, metrics; no colour literals elsewhere), Theme/Copy.swift (every UI word), Data/WorkspaceCatalog.swift (pages, databases, columns, cards, people), Data/DemoScript.swift (HOOK MODE and TOUR MODE as [DemoStep]). Codable models with String ids (Person, Block, Page, Database, BoardColumn, Card, InboxItem) behind one WorkspaceSource protocol (FixtureSource) feeding @Observable WorkspaceStore and DragController. WorkspaceCatalog, BoardColumn (dropToast, dropEffect), DragController and ScriptPlayer are the seams. Components/ (one file per component above) and Features/<Screen>/. README.md under 80 lines: the file map; how to rename the app and add a page, a database, a column or a card; 3 one-prompt remixes (a CRM for a freelancer: Leads → Won; a wedding planner with a vendor board and a guest table; a habit board where each day is a card). "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 workspace button for 1 s to reset everything to launch (Home at the top, no pushed pages, fixtures restored, no overlay, the Search field empty).

BUILD
Theme, Copy, Format and the catalog, then Home and the tab bar (launch and look first), the page with blocks and editing, the slash menu, the database page with the Board (drag, drop effects) and Table and List, the card page and the property menu, Search and Inbox, then ScriptPlayer, TouchDot and HOOK MODE, then TOUR 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 file exists, never view it. 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