Asset Specifications
This page defines the exact requirements for all images and assets used in Base MiniApps. These specifications are enforced through automated validation and are required for featuring eligibility.Quick Reference
| Asset Type | Dimensions | Max Size | Format | Purpose |
|---|---|---|---|---|
| App Icon | 512×512px | 60 KB | PNG/JPG | Manifest, cards, listings |
| Splash Image | 200×200px | 40 KB | PNG/JPG | Loading screen background |
| Hero Image | 1200×628px | 250 KB | PNG/JPG | Featured placement, sharing |
| Screenshots | Variable | 500 KB each | PNG/JPG | App store listings (up to 3) |
| Open Graph | 1200×630px | 250 KB | PNG/JPG | Social sharing, embeds |
Detailed Specifications
App Icon
The primary icon representing your MiniApp across Base App. Requirements:- Dimensions: 512×512 pixels (1:1 aspect ratio)
- File Size: ≤ 60 KB
- Format: PNG or JPG
- Source: 1024×1024 source images allowed (will be downscaled)
- Background: No transparency for JPG; solid background recommended for PNG
- App cards and listings in Base App
- Manifest
iconUrlfield - Search results and categories
- User’s installed apps list
Splash Image
Displayed while your MiniApp loads, behind a semi-transparent overlay. Requirements:- Dimensions: 200×200 pixels (1:1 aspect ratio)
- File Size: ≤ 40 KB
- Format: PNG or JPG
- Background: Solid color specified separately
- Content: Avoid transparency; keep design simple
- Loading screen background
- Brief display during app initialization
- Blurred/darkened for loading state
- Use your logo or key brand element
- Ensure it looks good blurred/darkened
- Test with both light and dark background colors
Hero Image (Featured Apps)
Large promotional image for featured placement and sharing. Requirements:- Dimensions: 1200×628 pixels (1.91:1 aspect ratio)
- File Size: ≤ 250 KB
- Format: PNG or JPG
- Safe Margins: 64px from all edges for text/logos
- Text Size: Any text must be ≥ 28px for readability
- Featured carousel in Base App
- Social media sharing
- Marketing materials
- Open Graph previews
- Clearly shows app purpose/value
- High-quality visuals representing your app
- Brand elements within safe margins
- No misleading or clickbait imagery
Screenshots
Visual previews of your app’s interface and functionality. Requirements:- Quantity: Up to 3 screenshots
- File Size: ≤ 500 KB each
- Format: PNG or JPG
- Dimensions: Variable (mobile aspect ratios recommended)
- Content: Actual app interface, not mockups
- Show key user flows or features
- Use real data, not Lorem ipsum
- Highlight unique value propositions
- Ensure text is readable at small sizes
Open Graph / Social Sharing
Image displayed when your app is shared on social media or embedded. Requirements:- Dimensions: 1200×630 pixels (1.91:1 aspect ratio)
- File Size: ≤ 250 KB
- Format: PNG or JPG
- Purpose: Social sharing, embeds, link previews
Optimization Techniques
Image Compression
Tools and techniques for meeting size requirements: Recommended Tools:- Sharp (Node.js): Automated optimization pipeline
- TinyPNG: Web-based compression
- ImageOptim: Mac app for lossless compression
- Squoosh: Web app by Google Chrome team
Progressive Enhancement
Serve different formats based on browser support:Responsive Images
Usesrcset for different screen densities:
Server-Side Optimization
CDN Configuration
Recommended headers for image delivery:Auto-Scaling Service
Example implementation for dynamic resizing:Validation Tools
CLI Validation
Use the Base MiniKit CLI to validate assets:Manual Validation Checklist
Before submission, verify:- File Sizes: All assets under size limits
- Dimensions: Exact pixel dimensions match requirements
- Formats: Using supported formats (PNG/JPG)
- Compression: Optimized for web delivery
- Quality: Images are clear and professional
- Content: Assets accurately represent your app
Automated Pipeline
Example GitHub Action for asset validation:Common Issues & Solutions
File Size Too Large
Problem: Assets exceed size limits Solutions:- Reduce image quality (JPEG quality 70-85%)
- Crop unnecessary whitespace
- Use appropriate color palette (fewer colors for PNG)
- Consider format change (PNG to JPG for photos)
Wrong Dimensions
Problem: Images don’t match exact pixel requirements Solutions:- Use proper image editing tools (Photoshop, Figma, Sketch)
- Set up artboards with exact dimensions
- Use automated resizing in build pipeline
- Validate dimensions before submission
Poor Quality After Compression
Problem: Images look pixelated or blurry Solutions:- Start with higher quality source images
- Use vector graphics when possible
- Increase source resolution before downscaling
- Use lossless compression tools first
Inconsistent Branding
Problem: Assets don’t match across different sizes Solutions:- Create a style guide for your app
- Use consistent colors and typography
- Test all assets at their final display sizes
- Maintain the same visual hierarchy across assets
Resources
- Performance Budgets: Overall performance requirements
- Quality Checklist: Complete quality requirements
- Validation Guide: Testing and validation tools
Getting HelpIf you’re having trouble meeting asset requirements, join the weekly Base MiniApp office hours or ask in the Discord #miniapps channel.