--- name: ios-ux-prototype description: | Create interactive iOS/mobile app UX flow prototypes as HTML documents with realistic phone mockups. Use when: (1) Visualizing user journeys and navigation flows, (2) Creating mobile app wireframes, (3) Documenting screen-to-screen navigation patterns, (4) Presenting iOS UI designs with annotations, (5) Prototyping app architecture before implementation. Generates self-contained HTML files with iOS-native styling, phone frames, flow arrows, and callout annotations. --- # iOS UX Prototype Create interactive HTML prototypes showing mobile app user journeys with realistic iPhone mockups. ## Quick Start 1. Copy CSS from `assets/ios-design-system.css` into a new HTML file 2. Paste the sprite from `assets/sf-symbols.svg` once near the top of `` 3. Structure: page header → journey rows → phone frames with content 4. Add flow arrows between screens and annotations for callouts ## iOS 26 Design (default) Target the current iOS 26 design language — **Liquid Glass** surfaces and **SF Symbols**. Apply these by default unless the user asks for an older look: - **Liquid Glass floating tab bar** — use `.tab-bar` (now a translucent, blurred capsule detached from the screen edges; the active tab gets its own glass "lens" pill). Give scrolling screens `padding-bottom: 104px` on `.scroll-content` so rows clear the floating bar. - **Liquid Glass nav/toolbar buttons** — use `.nav-glass-btn` (circular) or `.nav-glass-btn.text` (pill) for trailing actions, instead of plain text. - **SF Symbols over emoji** — never use emoji for UI affordances, list icons, tab icons, or actions. Reference glyphs from the sprite: ``. Glyphs inherit `currentColor`. - Country flags are the *only* allowed emoji (SF Symbols has no flag glyphs). - Need a glyph that isn't in the sprite? Add a new `` (24×24 viewBox) following the existing pattern. - Glassy segmented controls and translucent system alerts come for free in the CSS. ```html
Home
Settings
``` Common sprite glyphs: `sf-house`, `sf-globe`, `sf-antenna`, `sf-gear`, `sf-person`, `sf-magnifier`, `sf-bell`, `sf-star`, `sf-chevron`, `sf-chevron-down`, `sf-back`, `sf-arrow-up/down`, `sf-refresh`, `sf-plus`, `sf-check`, `sf-xmark`, `sf-ellipsis`, `sf-share`, `sf-trash`, `sf-heart`, `sf-paintbrush`, `sf-doc`, `sf-clipboard`, `sf-folder`, `sf-photo`, `sf-qrcode`, `sf-link`, `sf-list`, `sf-lock`, `sf-shield`, `sf-bolt`, `sf-power`, `sf-info`, `sf-clock`, `sf-chart`, `sf-wifi`, `sf-nosign`, `sf-compass`. ## Page Structure ```html [App] User Journey
``` ## Core Components ### Journey Step ```html
1
SCREEN NAME
9:41
``` **Note:** The phone frame uses a notch-style bezel by default. To use Dynamic Island style instead, add the `dynamic-island-style` class to `.phone-frame` and include a `
` element. ### Flow Arrow ```html
``` ### Annotation Callout ```html
Tap here →
``` ## Navigation Patterns ### Large Title Nav ```html ``` ### Inline Nav with Back ```html ``` ### Segmented Control (3-5 options) ```html
Tab 1
Tab 2
Tab 3
``` ### Scrollable Tabs (many options) ```html
iPhone 6.7"
iPhone 6.5"
iPad Pro
``` ## Content Components ### App List Row ```html
A
App Name
v1.0.0 · iOS
In Review ›
``` ### Action Card Grid ```html

Feature

Description

``` ### List Group ```html
Setting
``` ### Form Card ```html
📦
Label value
``` ## Color Classes **Icons**: `.blue`, `.purple`, `.orange`, `.cyan`, `.green`, `.yellow`, `.red`, `.gray` **Badges**: `.app-badge.review` (orange), `.app-badge.ready` (green), `.app-badge.draft` (purple) **Highlight**: `.action-card.highlighted` (blue border glow) ## Section Divider (Alternate Flows) ```html
Alternative Flow
``` ## Resources - `assets/ios-design-system.css` - Complete CSS design system (copy into HTML) - `assets/sf-symbols.svg` - SF Symbol sprite sheet (paste once into ``) - `references/ios-components.md` - Full component documentation with all variants