Sketch¶
The sketch pack draws the neutral core as a hand-drawn wireframe — the look of an early
concept on paper, before anyone argues about colours or pixels. Every box is a 2 px pencil
stroke with an irregular, slightly different border-radius per role, text uses a handwriting
stack (Comic Neue, Comic Sans MS, Chalkboard SE, Bradley Hand, Segoe Print, Marker Felt) a size
larger than usual, the palette is greyscale paper and pencil with one blue highlighter for
primary and selected things, images and photo avatars become boxes with a big pencil X,
Skeleton lines are squiggles, disabled controls and modal scrims are hatched, charts are
outlined in pencil greys, and sticky notes and callouts sit slightly askew. Device chrome is
sketched too: a pencil browser bar on the desktop and a double-outlined phone or tablet. Dark
appearance is a chalkboard — white chalk on green-black slate.
Select it with import Sketch (or import HandDrawn, import Napkin), or put pack="sketch" on a
fence: the pack adds almost no vocabulary of its own, so any core mockup renders sketched
unchanged. Several examples below are plain core code with only the fence attribute.
Its own helpers are few: Scribble(lines:) (squiggle lines for copy not yet written) and
Squiggle, Lorem() (filler copy), CrossedImage("label") (a crossed image box), Highlight("…")
(text swiped with the marker), Annotation("…", variant: .left | .right | .up | .down) (a
handwritten margin note with an arrow), Note("…", title:) (a taped paper note) and
Arrow("label", variant: .right | .down …) (a pencil arrow between steps of a flow).
The custom components used below (SiteNav, FeatureCard, ThingRow, KpiBox, FlowStep) live in
mockups/sketch/blocks.mockitdown and are imported with import "sketch/blocks".
Landing page¶
A first idea for a marketing page: navigation, a hero with a highlighted promise and a crossed
hero image, three FeatureCards, and margin notes for the next discussion.
Source
import Sketch
import "sketch/blocks"
VStack(alignment: .stretch, spacing: 0) {
SiteNav(brand: "Plantly")
Divider()
HStack(alignment: .center, spacing: 40) {
VStack(alignment: .leading, spacing: 16) {
Text("Never kill a houseplant again").font(.largeTitle)
Highlight("Reminders that know your plants")
Lorem("Snap a photo, get a care plan, and a nudge when it is time to water, feed or repot.")
HStack(spacing: 12) {
Button("Start free", systemImage: "arrow.right").buttonStyle(.borderedProminent).controlSize(.large)
Button("Watch demo", systemImage: "play").controlSize(.large)
}
Annotation("one CTA only?", variant: .up).padding(.leading, 30)
}
.frame(maxWidth: .infinity)
CrossedImage("hero: phone + plant photo").frame(width: 380, height: 260)
}
.padding(.horizontal, 40)
.padding(.vertical, 28)
HStack(spacing: 20) {
FeatureCard(title: "Photo ID")
FeatureCard(title: "Care calendar", lines: 2)
FeatureCard(title: "Plant doctor")
}
.padding(.horizontal, 40)
Spacer()
}Sign-up¶
The same form any pack draws — this fence has no import, only pack="sketch". Text fields
with labels and a focused field, a password with an error, a checkbox, a full-width primary button
and an outlined alternative below a labelled divider.
Source
VStack(alignment: .stretch, spacing: 14) {
Text("Create your account").font(.title2)
Text("Free for 30 days. No card needed.").foregroundStyle(.secondary)
TextField("Your name", text: "Ana Lima", label: "Name")
TextField("you@example.com", label: "Email").state(.focused)
SecureField("Password", text: "abc", label: "Password", helper: "At least 8 characters").state(.error)
Checkbox("I agree to the terms", checked: true)
Button("Create account").buttonStyle(.borderedProminent).frame(maxWidth: .infinity)
Divider(label: "or")
Button("Continue with email link", systemImage: "envelope").frame(maxWidth: .infinity)
HStack {
Text("Already have an account?").font(.footnote)
Link("Log in")
}
}
.padding(24)
.frame(width: 380)Mobile list → detail¶
Two phone screens of a shop app. The list uses the ThingRow component (crossed thumbnails), a
search field, chips and a bottom tab bar; the detail screen is plain core code under
pack="sketch".
Source
NavigationStack {
ScrollView {
VStack(alignment: .leading, spacing: 14) {
Image("assets/images/photo-2.svg").resizable().frame(maxWidth: .infinity).frame(height: 220)
HStack {
Text("Fiddle leaf fig").font(.title2)
Spacer()
Text("$38").font(.title2)
}
Rating(4, label: "128 reviews")
Text("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Bright, indirect light.")
.foregroundStyle(.secondary)
SegmentedControl(["Small", "Medium", "Large"], selection: 1)
Stepper("Quantity", value: 1)
HStack(spacing: 10) {
Button("Add to cart", systemImage: "cart").buttonStyle(.borderedProminent).frame(maxWidth: .infinity)
IconButton("heart")
}
.frame(maxWidth: .infinity)
Skeleton(lines: 3, avatar: true)
}
.padding(16)
}
.navigationTitle("Details")
.navigationBarTitleDisplayMode(.inline)
.toolbar { ToolbarItem(placement: .topBarTrailing) { Button(systemImage: "square.and.arrow.up") } }
}Dashboard¶
An analytics concept: sidebar, four KpiBoxes (Stat with sparklines), a pencil bar chart and a
dashed line chart, and a table with a selected row and pagination. Plain core code under
pack="sketch" except the imported component.
| Order | Customer | Items | Total | Status |
|---|---|---|---|---|
| #1042 | Ana Lima | 3 | $64 | Shipped |
| #1041 | Ben Okafor | 1 | $24 | Packing |
| #1040 | Chen Wu | 2 | $47 | Shipped |
| #1039 | Dana Petrov | 5 | $112 | Refunded |
Settings¶
A tablet settings screen with a split view: plain core code under pack="sketch". Toggles on and
off, a picker, a slider, a stepper, a disabled field (hatched) and a destructive button.
Onboarding flow with notes¶
A whole flow on one page of paper: three FlowStep cards joined by Arrows, a taped Note, an
Annotation and numbered callouts. The welcome screen 1 explains the value, the permission
step 2 asks for notifications only after that, and the last step 3 drops the user into an
empty garden — the open question on the note is whether to skip it.
Source
import Sketch
import "sketch/blocks"
VStack(alignment: .leading, spacing: 22) {
HStack(alignment: .center, spacing: 0) {
FlowStep(title: "Welcome", action: "Get started").callout(1, alignment: .topLeading)
Arrow("tap")
FlowStep(title: "Allow reminders", action: "Allow", lines: 3).callout(2, "ask late", alignment: .topTrailing)
Arrow("allow")
FlowStep(title: "Your garden", action: "Add a plant", lines: 1).callout(3, alignment: .topTrailing)
}
HStack(alignment: .top, spacing: 40) {
Note("Do we need step 3 at all? Maybe open the camera right away.", title: "Open question", author: "— Ana, Tue")
Annotation("skip goes straight to step 3", variant: .up)
Spacer()
StickyNote("Test with 5 people", rotation: 3)
}
}
.padding(28)Delete confirmation¶
A dialog over a list and a toast — the scrim is hatched, the dialog and toast are pencil boxes with an offset shadow.
Planning board¶
The team's concept board: a Board of KanbanCards with tags and assignees, a Timeline and a
Canvas with sticky notes, all in pencil.