Screen Templates are pre-built complete screen layouts following iOS and Android design patterns. Generate production-ready screens with 15-30 elements in a single operation.
The Tool
All templates are created using a single tool:
create_screen_from_template({
"template": "login",
"platform": "ios",
"theme": "light",
"x": 50,
"y": 50
})
Available Templates
1. Login Screen
Template: "login"
Elements Created: ~15
Components:
- Navigation bar with "Sign In" title
- App logo (circle placeholder)
- "Welcome Back" title
- "Sign in to your account" subtitle
- Email input field with icon
- Password input field with icon
- "Forgot Password?" link
- Primary "Sign In" button
- "Don't have an account? Sign Up" link
"Generate an iOS login screen with dark theme"
2. Settings Screen
Template: "settings"
Elements Created: ~25
Components:
- Navigation bar with "Settings" title
- 7 list items with icons and chevrons:
- Account (user icon) - "Privacy, security, change email"
- Notifications (bell icon)
- Appearance (palette icon) - "Theme, font size, language"
- Privacy (lock icon)
- Storage & Data (database icon) - "Network usage, storage usage"
- Help (question icon) - "Help center, contact us"
- About (info icon)
- Dividers between items
"Create a settings screen with light theme"
3. Profile Screen
Template: "profile"
Elements Created: ~20
Components:
- Navigation bar with "Profile" title, back button, and edit icon
- Avatar circle (96px) with user icon
- User name "John Doe"
- Email "john.doe@example.com"
- Stats row with 3 sections:
- Posts: 128
- Followers: 1.2K
- Following: 847
- "Edit Profile" button (outlined)
"Generate a profile screen for iOS with dark theme"
4. Dashboard Screen
Template: "dashboard"
Elements Created: ~30
Components:
- Navigation bar with "Dashboard" title and bell icon
- 4 stat cards in 2×2 grid:
- Revenue: $12,430
- Users: 2,847
- Orders: 384
- Growth: +12.5%
- "Recent Activity" section title
- 4 activity list items with timestamps:
- New order #1234 - 2m ago
- User signup - 15m ago
- Payment received - 1h ago
- New review posted - 3h ago
- Bottom tab bar (Home, Analytics, Orders, Profile)
"Create a dashboard screen with analytics cards"
5. List Screen
Template: "list"
Elements Created: ~30
Components:
- Navigation bar with "Items" title and plus icon
- Search input field with magnifying glass icon
- 7 list items with icons, titles, and descriptions:
- Item One (folder icon)
- Item Two (file icon)
- Item Three (image icon)
- Item Four (star icon)
- Item Five (bookmark icon)
- Item Six (tag icon)
- Item Seven (paperclip icon)
- Bottom tab bar (Home, Search, Favorites, Profile)
"Generate a list screen with search bar"
Parameters
Required
- template - Template name: "login", "settings", "profile", "dashboard", "list"
Optional
- platform - "ios" (default) or "android"
- theme - "light" (default) or "dark"
- x - Horizontal position (default: 0)
- y - Vertical position (default: 0)
- id - Client-specified ID for screen frame
Return Format
{
"success": true,
"frameId": "screen-001",
"template": "login",
"platform": "ios",
"theme": "light",
"elementCount": 15,
"elementIds": [
"nav-001",
"logo-001",
"title-001",
"subtitle-001",
...
]
}
Platform Differences
iOS Design System
- Screen Size: 390×844 (iPhone dimensions)
- Colors: iOS Blue (#007AFF), iOS Gray (#8E8E93)
- Typography: SF Pro style
- Navigation: Centered title, thin borders
- Buttons: Rounded corners (8px)
- Home Indicator: Included (iOS-specific)
Android (Material Design)
- Screen Size: 360×800 (standard Android)
- Colors: Material Primary (#6200EE), Material Secondary (#03DAC6)
- Typography: Roboto style
- Navigation: Left-aligned title, elevation shadows
- Buttons: Larger touch targets
- FAB: Floating action button (context-dependent)
Example Usage
Quick Prototyping
"Create 3 screens side-by-side: login, settings, and profile with light theme"
Claude will create 3 complete screens at different x positions for comparison.
Design Exploration
"Show me the dashboard screen in both light and dark themes"
Claude will create 2 dashboards so you can compare themes.
Multi-Platform Design
"Generate a login screen for both iOS and Android"
Claude will create 2 login screens showing platform differences.
Templates create starting points. All elements are fully editable - change colors, text, positions, or add/remove elements as needed.
Best Practices
- Start with Templates - Faster than building from scratch
- Consistent Platform - Don't mix iOS and Android in same design
- Theme Consistency - Use same theme across related screens
- Customize After - Templates are starting points, not final designs
- Reference Screens - Great for showing clients or team members
Rollback Safety
Like all composite tools, screen templates have rollback protection:
- If generation fails partway, all created elements are deleted
- You never see incomplete or broken screens
- Safe to experiment - worst case is nothing happens
Related Topics
- Composite UI Tools - Individual components
- Batch Operations - Create multiple screens
- New Features - Latest MCP capabilities