Kition
designPrototypes· featured

Habit App Onboarding Flow

A three-screen onboarding carousel wired as a prototype — Next buttons push to the following screen, Skip jumps to the end, and a flow starts on the first.

Habit App Onboarding Flow — Design sample rendered by Kition

Three top-level 390 × 844 frames, the first being the document's own frame. Each holds an illustration built from ellipses, a star and rounded rectangles, a text block and a footer row with pagination dots (the active one a wider pill) and a button. `proto.interaction.add` gives every Next button an On click → Navigate interaction with a Push transition from the right, the Skip links navigate straight to the last screen with Dissolve, and `proto.flow.add` makes the first screen the starting point of the "Onboarding" flow.

Steps

64 commands
showcase.yaml65 lines
steps:
  - { command: select.all, params: {}, as: initial }
  - { command: node.set, params: { ids: [$initial.selection.0], props: { name: "Onboarding 1", fill: "#FFFFFF", clip: true } } }
  - { command: node.create, params: { type: frame, parent: $initial.selection.0, name: Illustration, x: 20, y: 60, width: 350, height: 400, props: { fill: "#FFF4E6", cornerRadius: 32, clip: true } }, as: ill0 }
  - { command: node.create, params: { type: ellipse, parent: $ill0.id, name: Sun, x: 95, y: 70, width: 160, height: 160, props: { fill: "#FF8A3D" } } }
  - { command: node.create, params: { type: rectangle, parent: $ill0.id, name: Pot, x: 135, y: 250, width: 80, height: 70, props: { cornerRadius: [6, 6, 18, 18], fill: "#C2410C" } } }
  - { command: node.create, params: { type: vector, parent: $ill0.id, name: Sprout, x: 150, y: 170, path: "M25 80 C25 50 25 30 25 10 M25 40 C10 40 0 28 0 14 C14 14 25 24 25 40 M25 30 C40 30 50 18 50 4 C36 4 25 14 25 30", props: { stroke: "#166534", strokeWeight: 5, strokeCap: round, fill: none } } }
  - { command: node.create, params: { type: frame, parent: $initial.selection.0, name: Copy, x: 32, y: 500, width: 326, props: { layout: vertical, gap: 12, fill: none, sizingV: hug } }, as: copy0 }
  - { command: text.create, params: { text: "Build tiny habits", x: 0, y: 0, parent: $copy0.id, props: { fontFamily: Inter, fontStyle: Bold, fontSize: 30, letterSpacing: "-2%", fills: ["#111827"] } } }
  - { command: text.create, params: { text: "Start with two minutes a day. Small wins add up faster than big plans.", x: 0, y: 0, parent: $copy0.id, width: 326, props: { fontFamily: Inter, fontStyle: Regular, fontSize: 16, lineHeight: "150%", fills: ["#4B5563"], textAutoResize: height, sizingH: fill } } }
  - { command: node.create, params: { type: frame, parent: $initial.selection.0, name: Footer, x: 32, y: 740, width: 326, props: { layout: horizontal, mainAlign: spaceBetween, crossAlign: center, fill: none, sizingV: hug } }, as: foot0 }
  - { command: node.create, params: { type: frame, parent: $foot0.id, name: Dots, props: { layout: horizontal, gap: 6, fill: none, sizingH: hug, sizingV: hug } }, as: dots0 }
  - { command: node.create, params: { type: rectangle, parent: $dots0.id, name: "Dot 1", width: 24, height: 8, props: { cornerRadius: 4, fill: "#FF8A3D" } } }
  - { command: node.create, params: { type: rectangle, parent: $dots0.id, name: "Dot 2", width: 8, height: 8, props: { cornerRadius: 4, fill: "#D1D5DB" } } }
  - { command: node.create, params: { type: rectangle, parent: $dots0.id, name: "Dot 3", width: 8, height: 8, props: { cornerRadius: 4, fill: "#D1D5DB" } } }
  - { command: node.create, params: { type: frame, parent: $foot0.id, name: "Next Button", props: { layout: horizontal, padding: [14, 26, 14, 26], cornerRadius: 999, fill: "#111827", sizingH: hug, sizingV: hug } }, as: btn0 }
  - { command: text.create, params: { text: "Next", x: 0, y: 0, parent: $btn0.id, props: { fontFamily: Inter, fontStyle: Semi Bold, fontSize: 16, fills: ["#FFFFFF"] } } }
  - { command: text.create, params: { text: Skip, x: 320, y: 24, parent: $initial.selection.0, props: { fontFamily: Inter, fontStyle: Semi Bold, fontSize: 15, fills: ["#4B5563"] } }, as: skip0 }
  - { command: frame.create, params: { x: 470, y: 0, width: 390, height: 844, name: "Onboarding 2", props: { fill: "#FFFFFF", clip: true } }, as: screen1 }
  - { command: node.create, params: { type: frame, parent: $screen1.id, name: Illustration, x: 20, y: 60, width: 350, height: 400, props: { fill: "#EAF3FF", cornerRadius: 32, clip: true } }, as: ill1 }
  - { command: node.create, params: { type: ellipse, parent: $ill1.id, name: "Day 1", x: 33, y: 180, width: 32, height: 32, props: { fill: "#3B82F6", stroke: "#3B82F6", strokeWeight: 2 } } }
  - { command: node.create, params: { type: ellipse, parent: $ill1.id, name: "Day 2", x: 75, y: 180, width: 32, height: 32, props: { fill: "#3B82F6", stroke: "#3B82F6", strokeWeight: 2 } } }
  - { command: node.create, params: { type: ellipse, parent: $ill1.id, name: "Day 3", x: 117, y: 180, width: 32, height: 32, props: { fill: "#3B82F6", stroke: "#3B82F6", strokeWeight: 2 } } }
  - { command: node.create, params: { type: ellipse, parent: $ill1.id, name: "Day 4", x: 159, y: 180, width: 32, height: 32, props: { fill: "#3B82F6", stroke: "#3B82F6", strokeWeight: 2 } } }
  - { command: node.create, params: { type: ellipse, parent: $ill1.id, name: "Day 5", x: 201, y: 180, width: 32, height: 32, props: { fill: "#3B82F6", stroke: "#3B82F6", strokeWeight: 2 } } }
  - { command: node.create, params: { type: ellipse, parent: $ill1.id, name: "Day 6", x: 243, y: 180, width: 32, height: 32, props: { fill: "#FFFFFF", stroke: "#3B82F6", strokeWeight: 2 } } }
  - { command: node.create, params: { type: ellipse, parent: $ill1.id, name: "Day 7", x: 285, y: 180, width: 32, height: 32, props: { fill: "#FFFFFF", stroke: "#3B82F6", strokeWeight: 2 } } }
  - { command: text.create, params: { text: "5", x: 0, y: 90, parent: $ill1.id, width: 350, props: { fontFamily: Inter, fontStyle: Bold, fontSize: 64, textAlign: center, fills: ["#3B82F6"] } } }
  - { command: text.create, params: { text: day streak, x: 0, y: 240, parent: $ill1.id, width: 350, props: { fontFamily: Inter, fontStyle: Semi Bold, fontSize: 18, textAlign: center, fills: ["#1E3A8A"] } } }
  - { command: node.create, params: { type: frame, parent: $screen1.id, name: Copy, x: 32, y: 500, width: 326, props: { layout: vertical, gap: 12, fill: none, sizingV: hug } }, as: copy1 }
  - { command: text.create, params: { text: "Keep your streak", x: 0, y: 0, parent: $copy1.id, props: { fontFamily: Inter, fontStyle: Bold, fontSize: 30, letterSpacing: "-2%", fills: ["#111827"] } } }
  - { command: text.create, params: { text: "Check in each evening and watch the chain grow. Missed a day? Pick it back up.", x: 0, y: 0, parent: $copy1.id, width: 326, props: { fontFamily: Inter, fontStyle: Regular, fontSize: 16, lineHeight: "150%", fills: ["#4B5563"], textAutoResize: height, sizingH: fill } } }
  - { command: node.create, params: { type: frame, parent: $screen1.id, name: Footer, x: 32, y: 740, width: 326, props: { layout: horizontal, mainAlign: spaceBetween, crossAlign: center, fill: none, sizingV: hug } }, as: foot1 }
  - { command: node.create, params: { type: frame, parent: $foot1.id, name: Dots, props: { layout: horizontal, gap: 6, fill: none, sizingH: hug, sizingV: hug } }, as: dots1 }
  - { command: node.create, params: { type: rectangle, parent: $dots1.id, name: "Dot 1", width: 8, height: 8, props: { cornerRadius: 4, fill: "#D1D5DB" } } }
  - { command: node.create, params: { type: rectangle, parent: $dots1.id, name: "Dot 2", width: 24, height: 8, props: { cornerRadius: 4, fill: "#3B82F6" } } }
  - { command: node.create, params: { type: rectangle, parent: $dots1.id, name: "Dot 3", width: 8, height: 8, props: { cornerRadius: 4, fill: "#D1D5DB" } } }
  - { command: node.create, params: { type: frame, parent: $foot1.id, name: "Next Button", props: { layout: horizontal, padding: [14, 26, 14, 26], cornerRadius: 999, fill: "#111827", sizingH: hug, sizingV: hug } }, as: btn1 }
  - { command: text.create, params: { text: "Next", x: 0, y: 0, parent: $btn1.id, props: { fontFamily: Inter, fontStyle: Semi Bold, fontSize: 16, fills: ["#FFFFFF"] } } }
  - { command: text.create, params: { text: Skip, x: 320, y: 24, parent: $screen1.id, props: { fontFamily: Inter, fontStyle: Semi Bold, fontSize: 15, fills: ["#4B5563"] } }, as: skip1 }
  - { command: frame.create, params: { x: 940, y: 0, width: 390, height: 844, name: "Onboarding 3", props: { fill: "#FFFFFF", clip: true } }, as: screen2 }
  - { command: node.create, params: { type: frame, parent: $screen2.id, name: Illustration, x: 20, y: 60, width: 350, height: 400, props: { fill: "#EEFBF3", cornerRadius: 32, clip: true } }, as: ill2 }
  - { command: node.create, params: { type: rectangle, parent: $ill2.id, name: Phone, x: 105, y: 70, width: 140, height: 260, props: { cornerRadius: 28, fill: "#FFFFFF", stroke: "#BBF7D0", strokeWeight: 3 } } }
  - { command: node.create, params: { type: rectangle, parent: $ill2.id, name: Notification, x: 60, y: 140, width: 230, height: 64, props: { cornerRadius: 16, fill: "#FFFFFF", effects: [{ type: dropShadow, color: "#14532D26", offset: [0, 8], radius: 20 }] } } }
  - { command: node.create, params: { type: ellipse, parent: $ill2.id, name: Badge, x: 76, y: 156, width: 32, height: 32, props: { fill: "#22A06B" } } }
  - { command: text.create, params: { text: "Time for a 2-minute stretch?", x: 120, y: 164, parent: $ill2.id, props: { fontFamily: Inter, fontStyle: Medium, fontSize: 12, fills: ["#14532D"] } } }
  - { command: node.create, params: { type: star, parent: $ill2.id, name: Sparkle, x: 262, y: 100, width: 34, height: 34, props: { pointCount: 4, innerRadius: 0.35, fill: "#FACC15" } } }
  - { command: node.create, params: { type: frame, parent: $screen2.id, name: Copy, x: 32, y: 500, width: 326, props: { layout: vertical, gap: 12, fill: none, sizingV: hug } }, as: copy2 }
  - { command: text.create, params: { text: "Gentle nudges", x: 0, y: 0, parent: $copy2.id, props: { fontFamily: Inter, fontStyle: Bold, fontSize: 30, letterSpacing: "-2%", fills: ["#111827"] } } }
  - { command: text.create, params: { text: "Reminders arrive when you usually have a moment, never at 6 a.m.", x: 0, y: 0, parent: $copy2.id, width: 326, props: { fontFamily: Inter, fontStyle: Regular, fontSize: 16, lineHeight: "150%", fills: ["#4B5563"], textAutoResize: height, sizingH: fill } } }
  - { command: node.create, params: { type: frame, parent: $screen2.id, name: Footer, x: 32, y: 740, width: 326, props: { layout: horizontal, mainAlign: spaceBetween, crossAlign: center, fill: none, sizingV: hug } }, as: foot2 }
  - { command: node.create, params: { type: frame, parent: $foot2.id, name: Dots, props: { layout: horizontal, gap: 6, fill: none, sizingH: hug, sizingV: hug } }, as: dots2 }
  - { command: node.create, params: { type: rectangle, parent: $dots2.id, name: "Dot 1", width: 8, height: 8, props: { cornerRadius: 4, fill: "#D1D5DB" } } }
  - { command: node.create, params: { type: rectangle, parent: $dots2.id, name: "Dot 2", width: 8, height: 8, props: { cornerRadius: 4, fill: "#D1D5DB" } } }
  - { command: node.create, params: { type: rectangle, parent: $dots2.id, name: "Dot 3", width: 24, height: 8, props: { cornerRadius: 4, fill: "#22A06B" } } }
  - { command: node.create, params: { type: frame, parent: $foot2.id, name: "Get started Button", props: { layout: horizontal, padding: [14, 26, 14, 26], cornerRadius: 999, fill: "#111827", sizingH: hug, sizingV: hug } }, as: btn2 }
  - { command: text.create, params: { text: "Get started", x: 0, y: 0, parent: $btn2.id, props: { fontFamily: Inter, fontStyle: Semi Bold, fontSize: 16, fills: ["#FFFFFF"] } } }
  - { command: proto.interaction.add, params: { id: $btn0.id, trigger: { type: onClick }, action: { type: navigate, dest: $screen1.id }, transition: { type: push, direction: left }, durationMs: 300, easing: easeOut }, as: link1 }
  - { command: proto.interaction.add, params: { id: $btn1.id, trigger: { type: onClick }, action: { type: navigate, dest: $screen2.id }, transition: { type: push, direction: left }, durationMs: 300, easing: easeOut }, as: link2 }
  - { command: proto.interaction.add, params: { id: $skip0.id, trigger: { type: onClick }, action: { type: navigate, dest: $screen2.id }, transition: { type: dissolve }, durationMs: 250 } }
  - { command: proto.interaction.add, params: { id: $skip1.id, trigger: { type: onClick }, action: { type: navigate, dest: $screen2.id }, transition: { type: dissolve }, durationMs: 250 } }
  - { command: proto.flow.add, params: { start: $initial.selection.0, name: Onboarding }, as: flow }
  - { command: proto.settings, params: { device: iPhone 14 }, as: device }
  - { command: node.get, params: { id: $btn0.id }, as: next1 }
  - { command: text.missingFonts, params: {}, as: missing }

Checks

11 checks on every build
  • inspect.pages = [{"id":1,"layers":3,"name":"Page 1"}]
  • inspect.layers = 55
  • inspect.contentBounds = {"width":1330,"height":844}
  • results.flow = {"name":"Onboarding"}
  • results.link1 = {"index":0}
  • results.link2 = {"index":0}
  • results.next1.interactions = {"count":1,"all":{"trigger":{"type":"onClick"},"transition":{"type":"push","direction":"left"},"easing":"easeOut","actions":{"count":1,"all":{"type":"navigat…
  • results.next1.name = "Next Button"
  • results.missing.families = {"count":0}
  • Diagnostics: none, the kit's own check finds nothing wrong
  • The saved document opens again, and its thumbnail matches thumb.png within the render tolerance

Related

More Design samples
designMobile Apps

Coffee Shop Checkout

A mobile checkout — cart lines with steppers, a promo field, a totals block with space-between rows, a saved card drawn with boolean shapes and a sticky pay bar.

1 page; 67 layers; 390 × 844 design
designMobile Apps

Dark Mode Settings Screen

A dark-theme mobile settings screen of grouped lists, built from a Toggle component with On and Off variants and a reusable list-row layout.

1 page; 56 layers; 588 × 844 design
designMobile Apps

Plant Care App Login

A mobile sign-in screen built entirely with nested auto layout — fill-width inputs, a hugging button row and a centred footer link.

1 page; 32 layers; 390 × 844 design
designComponents & Variants

Button Component Set

A button component set with nine variants — Primary, Secondary and Ghost across Default, Hover and Disabled — and instances switched by property.

1 page; 51 layers; 1060 × 470 design