🎨 AiPro Institute™ Prompt Library
Digital UI/UX & Web Design
📱 Mobile App UI Kit
Comprehensive Design System with Reusable Components for iOS & Android
🛠️ Tool Compatibility
📝 The Prompt
Create a comprehensive mobile app UI kit for:
🎯 App Type & Context:
• App Category: [E-commerce / Social Media / Finance/Banking / Health & Fitness / Education / Food Delivery / Travel / Productivity / Dating / News/Media]
• Platform: [iOS / Android / Cross-platform (React Native, Flutter)]
• Target Audience: [Age range, tech-savviness, geographic market]
• App Personality: [Professional / Playful / Minimalist / Luxurious / Youthful / Trustworthy]
🎨 Design System Foundation:
1. Color Palette
• Primary Color: [HEX code — used for CTAs, active states, brand elements]
• Secondary Color: [HEX code — supporting actions, accents]
• Neutral Grays: [5–7 shades from white to black — text, backgrounds, borders]
• Semantic Colors: [Success: #10b981 / Warning: #f59e0b / Error: #ef4444 / Info: #3b82f6]
• Gradient Option: [Yes/No — if yes, provide gradient specs]
• Dark Mode: [Yes/No — if yes, define dark palette variants]
2. Typography System
• Primary Font: [SF Pro (iOS) / Roboto (Android) / Custom font name]
• Font Weights: [Regular 400 / Medium 500 / Semibold 600 / Bold 700]
• Type Scale: [H1: 32sp / H2: 24sp / H3: 20sp / Body: 16sp / Caption: 14sp / Small: 12sp]
• Line Height: [1.4–1.6 for body text / 1.2 for headings]
• Letter Spacing: [0 for body / slight tracking for ALL CAPS labels]
3. Spacing & Grid
• Base Unit: [8px grid system (multiples of 8: 8, 16, 24, 32, 48, 64)]
• Screen Padding: [16px or 24px edge margins]
• Component Spacing: [8px between elements / 16px between sections]
• Safe Area: [Account for iOS notch, Android navigation bar]
4. Iconography
• Icon Style: [Outlined / Filled / Rounded / Sharp / Two-tone]
• Icon Size: [16px / 20px / 24px / 32px depending on context]
• Icon Library: [Material Icons / SF Symbols / Feather / Custom]
• Icon Color: [Match text color / Primary brand color for emphasis]
📦 Core UI Components (30+ Components):
1. Buttons (6 variants)
• Primary Button: [Solid fill, primary color, white text, 48px height, full-width or auto]
• Secondary Button: [Outlined border, primary color, transparent background]
• Tertiary/Ghost Button: [Text-only, no border, subtle hover]
• Disabled State: [Gray fill, reduced opacity, no interaction]
• Loading State: [Spinner animation inside button]
• Icon Button: [Circular or square, icon-only, 40–48px]
2. Input Fields (8 variants)
• Text Input: [Single-line, label, placeholder, 48–56px height, border/underline style]
• Text Area: [Multi-line, resizable OR fixed height]
• Search Bar: [Magnifying glass icon, rounded corners, light background]
• Password Input: [Toggle visibility icon (eye), secure entry]
• Dropdown/Select: [Chevron icon, modal picker OR native selector]
• Checkbox: [Square, checkmark animation, label text]
• Radio Button: [Circular, single-select, filled dot when active]
• Toggle Switch: [iOS-style sliding toggle, on/off states]
• States for All: [Default, Focused (border highlight), Error (red border + message), Disabled (gray)]
3. Navigation Components (6 variants)
• Bottom Tab Bar: [3–5 tabs, active indicator (color/underline), icons + labels OR icons-only]
• Top Navigation Bar: [Title centered, back button left, action icons right (search, profile, etc.)]
• Drawer/Side Menu: [Slide-out menu, user profile at top, nav links with icons]
• Tab Switcher: [Horizontal scrollable tabs, underline indicator]
• Breadcrumbs: [Chevron separators, clickable parent links]
• Pagination Dots: [Carousel indicators, current page highlighted]
4. Cards & Lists (8 variants)
• Basic Card: [White/light background, subtle shadow, 8–16px border radius, 16px padding]
• Image Card: [Image top, title + description below, CTA button]
• Horizontal Card: [Thumbnail left, content right, compact layout]
• Product Card: [Product image, name, price, rating, add-to-cart button]
• List Item: [Icon/avatar left, title + subtitle, chevron right for navigation]
• Swipeable List Item: [Swipe-left reveals delete/archive actions]
• Avatar List Item: [Profile pic, name, status/timestamp, message preview]
• Expandable List Item: [Accordion-style, tap to expand details]
5. Modals & Overlays (5 variants)
• Alert Dialog: [Centered modal, title, message, 1–2 action buttons]
• Bottom Sheet: [Slides up from bottom, drag-to-close handle, list OR form content]
• Full-Screen Modal: [Covers entire screen, close X top-right, header + content]
• Action Sheet: [iOS-style list of actions, cancel button at bottom]
• Toast/Snackbar: [Brief notification, bottom OR top, auto-dismiss, optional action]
6. Feedback & Status (6 variants)
• Loading Spinner: [Circular progress indicator, primary color, small/medium/large sizes]
• Progress Bar: [Horizontal bar, filled portion shows %, label optional]
• Skeleton Loader: [Gray placeholder blocks with shimmer animation while content loads]
• Empty State: [Illustration + message + CTA when no content available]
• Error State: [Error icon, message, "Retry" button]
• Badge/Notification Dot: [Small circle with count OR just dot, red color, positioned on icons]
7. Media Components (4 variants)
• Avatar: [Circular profile image, 32/48/64/96px sizes, fallback initials if no image]
• Image Gallery: [Grid layout, tap to expand full-screen with swipe navigation]
• Video Player: [Play/pause, progress bar, full-screen toggle, volume control]
• Image Placeholder: [Gray box with image icon while loading]
8. Form Components (5 variants)
• Date Picker: [Calendar UI OR native picker, selected date highlight]
• Time Picker: [Clock face OR scrollable hours/minutes]
• Stepper: [Plus/minus buttons, number display, quantity selector]
• Slider: [Horizontal track, draggable thumb, min/max values, label]
• Rating: [5-star display, filled/unfilled states, tap to rate]
📱 Key Screens (8–10 Templates):
• Splash Screen: [App logo centered, brand color background OR animation]
• Onboarding (3 screens): [Carousel with illustrations, benefit messaging, "Skip" option, pagination dots]
• Login/Signup: [Email + password inputs, social login buttons, "Forgot password?" link]
• Home/Dashboard: [Header with greeting/search, scrollable content cards, bottom tab bar]
• List/Feed Screen: [Scrollable vertical list, pull-to-refresh, filter/sort options]
• Detail Screen: [Hero image, title, description, action buttons, related items]
• Profile Screen: [Avatar, name, bio, stats, settings/edit button]
• Settings Screen: [Grouped list items, toggles, navigation to sub-settings]
🔧 Interaction Patterns:
• Tap: [Visual feedback — scale down 95% OR background color change for 100ms]
• Swipe: [Horizontal swipe for carousels, vertical for scrolling, swipe-to-delete]
• Pull-to-Refresh: [Spinner at top, release to trigger reload]
• Long Press: [Context menu OR haptic feedback + action sheet]
• Drag & Drop: [Reorder list items, visual elevation when dragged]
• Animation Timing: [Fast 150ms for micro-interactions / 300ms for transitions / 500ms for complex animations]
♿ Accessibility Standards:
• Touch Targets: [Minimum 44×44px (iOS) / 48×48dp (Android)]
• Contrast Ratio: [WCAG AA — 4.5:1 for normal text, 3:1 for large text & UI elements]
• Text Scaling: [Support system font sizes — test at 200% scale]
• Screen Reader Labels: [Descriptive labels for all interactive elements]
• Colorblind-Safe: [Don't rely solely on color to convey information — use icons/text]
📐 Technical Specs:
• Screen Sizes: [iOS: 375×667 (SE), 390×844 (iPhone 13/14), 430×932 (Pro Max) / Android: 360×640, 412×915]
• Resolution: [Design at @2x (Retina), export @1x, @2x, @3x for iOS / mdpi, hdpi, xhdpi, xxhdpi for Android]
• Safe Areas: [iOS notch/Dynamic Island clearance / Android status bar & navigation bar]
• Export Format: [SVG for icons / PNG @2x/@3x for images / PDF for vectors]
✅ Deliverables Required:
1. Complete UI kit file (Figma/Sketch/XD) with organized component library
2. Design system documentation (colors, typography, spacing tokens)
3. 8–10 key screen templates ready for customization
4. Component states (default, hover, active, disabled, error, loading)
5. Light mode + Dark mode variants (if applicable)
6. Icon set (50+ icons in consistent style)
7. Interactive prototype with navigation flows
8. Developer handoff specs (dimensions, colors HEX/RGB, font sizes)
🚀 Output Format:
Deliver a production-ready mobile UI kit that enables rapid app design and development, maintains visual consistency, and adheres to platform-specific guidelines (iOS Human Interface / Android Material Design).
🧠 The Logic: 6 Design Principles
1️⃣ Component Reusability
Build once, use everywhere. Each component must work in multiple contexts. Variants handle edge cases. Saves design & dev time.
2️⃣ Touch-First Design
44px minimum touch targets. Thumbs, not cursors. Bottom nav for one-handed use. Consider phone-holding ergonomics.
3️⃣ Platform Conventions
Respect iOS vs. Android norms. iOS: centered titles, swipe-back gestures. Android: floating action buttons, material elevation. Don't force one platform's UX onto another.
4️⃣ Performance Constraints
Mobile = limited resources. Optimize images. Minimize animations. Lazy-load content. Slow apps = uninstalled apps.
5️⃣ Scalable System
Design tokens (not hard-coded values). 8px grid. Type scale. New screens inherit the system. Easy to maintain & expand.
6️⃣ Accessibility First
20% of users have accessibility needs. High contrast, large targets, screen reader support aren't optional—they're table stakes.
🎨 Output Preview: 4 Real-World Examples
Example 1: E-commerce Shopping App (iOS)
Components: Product cards (image, name, price, "Add to Cart" button), bottom tab bar (Home, Categories, Cart, Profile), search bar with filter icon, swipeable image carousel
Screens: Home (featured products grid), Product Detail (hero image, price, size selector, reviews), Cart (list with quantity steppers), Checkout (payment form)
Typography: SF Pro Display (headings), SF Pro Text (body), 16sp base
Interactions: Pull-to-refresh, swipe product card to "Quick Add", haptic feedback on cart add
Example 2: Fitness Tracking App (Android Material Design)
Components: Stat cards (steps, calories, distance with progress rings), floating action button (+ Add Workout), material bottom sheets, line charts for trends
Screens: Dashboard (today's stats, activity feed), Workout Detail (exercise list with timer), Goals (progress bars), Profile (avatar, achievements)
Typography: Roboto (all text), 14sp body, bold 24sp for stats
Interactions: FAB expands to quick actions, long-press workout to edit/delete, swipe charts to change time period
Example 3: Social Media Feed App (Cross-Platform)
Components: Post card (avatar, name, timestamp, image/video, like/comment/share buttons), story circles (horizontal scrollable), bottom tab bar with center camera button
Screens: Feed (infinite scroll posts), Profile (bio, follower count, post grid), Notifications (list with avatars), Messages (chat list)
Typography: Inter (clean, modern), 15sp body, semibold for usernames
Interactions: Double-tap to like, swipe stories horizontally, pull-down to refresh feed
Example 4: Banking/Finance App (Minimalist & Secure)
Components: Account balance card (large number, masked/unmasked toggle), transaction list (merchant logo, amount, category icon), segmented control (All/Income/Expense), biometric authentication modal
Screens: Home (accounts overview, quick actions), Transactions (filterable list), Transfer (recipient selector, amount input), Settings (security options)
Typography: SF Pro (iOS) / Roboto (Android), 32sp for balance, 14sp for details
Interactions: Face ID/fingerprint to reveal balance, swipe transaction for details, drag-to-confirm transfer
🔗 3-Step Chain Strategy
Step 1: Design System Foundation
Prompt: "Create a design system foundation for a [app category] mobile app targeting [audience]. Define: (1) Color palette (primary, secondary, neutrals, semantic colors) with HEX codes and usage rules, (2) Typography system (font family, type scale 12sp–32sp, line heights), (3) Spacing tokens (8px grid multiples: 8, 16, 24, 32, 48), (4) Icon style (outlined/filled) with 50+ icon list. Output: Design tokens document for Figma variables."
Expected Output: Foundational design system with color, type, spacing, and icon specifications ready to apply to components.
Step 2: Component Library Build
Prompt: "Using the design system, build 30+ mobile UI components in [Figma/Sketch]: (1) Buttons (6 variants: primary, secondary, tertiary, icon, disabled, loading), (2) Input fields (8 variants with states), (3) Cards (5 variants), (4) Navigation (bottom tab, top bar, drawer), (5) Modals (alert, bottom sheet, action sheet), (6) Feedback components (spinner, progress, toast, empty/error states). Create component variants for all states (default, active, disabled, error). Screen size: 390×844px (iPhone 14)."
Expected Output: Complete component library with all variants and states, organized in Figma with auto-layout and design tokens applied.
Step 3: Screen Templates & Prototype
Prompt: "Design 8 key screens using the component library: (1) Onboarding (3-screen carousel), (2) Login/Signup, (3) Home/Dashboard, (4) List/Feed, (5) Detail View, (6) Profile, (7) Settings, (8) Checkout/Form. Apply 16px screen margins, 8px component spacing. Create interactive prototype: bottom tab navigation, screen transitions (push/modal), tap interactions. Export developer specs: component dimensions, color codes (HEX), font sizes, spacing values, icon assets (@2x/@3x)."
Expected Output: Production-ready screen templates with interactive prototype and complete developer handoff documentation.
💡 6 HITL (Human-in-the-Loop) Refinement Tips
🎓 AiPro Institute™
Empowering professionals with world-class AI prompt engineering resources
Part of the Digital UI/UX & Web Design Collection