-
Notifications
You must be signed in to change notification settings - Fork 0
User Guide
Learn how to use Stronzi to create beautiful story templates.
The landing page introduces Stronzi and provides quick access to:
- Start Generating - Go to the template editor
- View Gallery - Browse all available templates
The main interface for creating and customizing templates.
The generator page has two main sections:
Left Panel - Editor
- Template selector dropdown
- Dynamic form fields
- Export button
Right Panel - Preview
- Live 1080×1920 preview
- Real-time updates as you type
- Exact output representation
Click the dropdown at the top to choose from available templates:
- Sanremo Story
- (Your custom templates will appear here)
The form auto-generates based on the template's field definitions:
Text Fields
Label: Title
Input: [Your text here]
- For short text like titles and subtitles
- Updates preview instantly
Textarea Fields
Label: Description
Textarea: [Longer text content...]
- For paragraphs and longer content
- Supports line breaks
Image URL Fields
Label: Background Image
Input: [https://example.com/image.jpg]
- Paste image URLs from any source
- Images load in the preview
- Supports CORS-enabled images
Number Fields
Label: Font Size
Input: [24]
- For numeric values
- Use arrow keys or type directly
The right panel updates in real-time:
- Changes appear instantly
- Shows exact output
- 1080×1920 dimensions maintained
- Scroll to view entire template
When satisfied with your design:
- Click "Export PNG"
- The browser will download
{template-id}.png - File is exactly 1080×1920 pixels
- Ready for Instagram, Facebook, etc.
The export system uses html-to-image to create perfect PNG files:
- High resolution - Full 1080×1920 quality
- Accurate rendering - What you see is what you get
- Transparent support - If your template uses transparency
- Custom fonts - Preserves web fonts in export
Browse all available templates in a responsive grid.
Grid Layout
- Responsive grid adapts to screen size
- Hover effects on templates
- Click to view full-size
Template Cards
- Thumbnail preview
- Template name
- Click to view individual template
From the gallery, you can:
- Click any template to view it full-size
- Return to the home page
- Go to the generator
View a single template in full detail.
Full-Size Display
- Complete 1080×1920 preview
- Shows template with default values
- Centered on screen
Export Option
- Export button at the bottom
- Downloads with default values
- Same PNG quality as generator
Navigation
- Back button to gallery
- Direct link to generator for customization
- Go to
/previewgallery - Click a template you like
- Click "Export PNG"
- Done! (Uses default values)
- Go to
/generate - Select template
- Customize all fields
- Preview your changes
- Export PNG
- Upload to social media
- Create new template component
- Register in
templates/index.ts - Go to
/generate - Select your template
- Test all fields
- Export and verify
- Iterate as needed
Stronzi automatically adapts to your system's color scheme:
Light Mode
- Cream and sand backgrounds
- Dark text for readability
- Warm accent colors
Dark Mode
- Deep sea backgrounds
- Light text
- Vibrant accent colors
Toggle dark mode in your system settings to see the change.
While editing in the generator:
- Tab - Move to next field
- Shift+Tab - Move to previous field
- Enter - Submit in text fields (moves to next)
- Ctrl/Cmd+S - (Future: Save draft)
Stronzi is responsive and works on mobile devices:
Mobile Layout
- Generator form and preview stack vertically
- Gallery grid adjusts to screen width
- Touch-friendly buttons
- Pinch to zoom on previews
Limitations
- PNG export works on mobile browsers
- Best experience on desktop for editing
- Preview quality may vary on small screens
Image URLs
- Use high-resolution images (at least 1080px wide)
- Ensure images are CORS-enabled
- Test with different images for best fit
Text Content
- Keep titles concise for readability
- Test different text lengths
- Use line breaks strategically in textareas
Color Combinations
- Use the design system colors for consistency
- Test in both light and dark mode
- Consider contrast for text readability
Export Quality
- Wait for images to load before exporting
- Large images may take longer to export
- Check downloaded PNG dimensions (should be 1080×1920)
Social Media Posts
- Instagram Stories (1080×1920)
- Facebook Stories (1080×1920)
- Snapchat Stories (1080×1920)
Marketing Materials
- Event announcements
- Product launches
- Quotes and testimonials
- Promotional graphics
Personal Content
- Travel stories
- Photo collages
- Text overlays
- Creative designs
Preview not updating
- Check browser console for errors
- Refresh the page
- Ensure all fields have valid values
Export not working
- Wait for all images to load
- Try a different browser
- Check browser's download settings
Images not loading
- Verify the URL is correct
- Check if image allows CORS
- Try a different image source
Text not visible
- Check text color vs background color
- Adjust font size if needed
- Verify CSS classes are correct
- Creating Templates - Build your own templates
- Design System - Learn the styling system
- API Reference - Technical documentation