Getting Started
A beginner's guide to creating your first motion graphics video using Tintage's template system.
What You'll Learn
By the end of this guide, you'll know how to:
Create a basic template structure
Add animated text elements
Use different widget types
Style your template with CSS
Control animation timing
Export your video
Your First Template
Let's create a simple "Hello World" template to get you started.
Step 1: Basic Structure
Every template needs a container element. This is the foundation of your video:
<div class="relative w-full h-full bg-blue-500" data-type="container">
<!-- Your content goes here -->
</div>What this does:
class="relative w-full h-full"- Makes the container fill the entire video framebg-blue-500- Sets a blue background colordata-type="container"- Tells Tintage this is a container element
Step 2: Add Animated Text
Now let's add some text that fades in and make it editable:
What this does:
absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2- Centers the text perfectlytext-white text-4xl font-bold- Styles the text (white, large, bold)data-type="text"- Makes this an animated text widgetdata-editable="true"- Makes this field editable in the template editordata-label="Main Headline"- Gives the field a custom name in the editordata-animate="fade"- Creates a fade-in effectdata-start="0"- Animation starts immediatelydata-duration-animation="2"- Animation takes 2 seconds
Step 3: Test Your Template
Copy the HTML code above
Paste it into the HTML String field in Tintage
Set your background color to
#3b82f6(blue)Click "Render video"
Watch your first animated video!
Making Templates Editable
What are Editable Fields?
Editable fields allow users to customize your template content without editing HTML. When you add data-editable="true" to an element, it becomes available in the template editor for easy modification.
Adding Editable Fields
Custom Field Labels
Use data-label to give your fields descriptive names in the editor:
Complete Editable Example
📖 For complete editable fields documentation, see Editable Fields Guide
📖 For how to use the Template Editor interface, see Template Editor Guide
Understanding the Basics
Container Element
The container is like a canvas for your video:
Key points:
Always use
relative w-full h-fullclassesMust have
data-type="container"This is where you set the background color
Positioning Elements
Use absolute positioning to place elements exactly where you want them:
Animation Widgets
Widgets are special elements that can be animated and made editable:
data-type="text"
Static or fading text
Headlines, labels
✅ Text content
data-type="typewriter"
Typing effect
Messages, descriptions
✅ Typewriter text
data-type="counter"
Counting numbers
Statistics, metrics
✅ Target number
data-type="image"
Images with fade
Logos, photos
✅ Image URL
Making Widgets Editable
Add data-editable="true" and data-label to any widget:
Common Patterns
Centered Content
This is the most common layout pattern with editable fields:
Header + Content + Footer
A three-section layout with editable fields:
Side-by-Side Layout
Two elements positioned side by side with editable fields:
Animation Timing
Understanding Timing
Video Length: 6.67 seconds (200 frames at 30 FPS)
Start Time: When animation begins (in seconds)
Duration: How long animation takes (in seconds)
End Time: Start time + Duration
Timing Examples
Sequential Animations:
Overlapping Animations:
Styling Your Template
Color Schemes
Professional Blue:
Warm Orange:
Cool Green:
Typography
Large and Bold:
Elegant and Light:
Monospace (for typewriter):
Spacing
Add margins:
Add padding:
Testing and Iteration
Preview Your Work
Start Simple: Begin with basic text and animations
Test Frequently: Render videos often to see your progress
Adjust Timing: Fine-tune animation start times and durations
Refine Styling: Experiment with colors, fonts, and spacing
Common Issues and Solutions
Text not appearing:
Check that
data-type="text"is set correctlyVerify the element has content inside
Make sure
data-starttime is reasonable
Animation too fast/slow:
Adjust
data-duration-animationvalueLonger duration = slower animation
Shorter duration = faster animation
Elements overlapping:
Use different positioning classes
Add margins or padding
Check your layout structure
Background not showing:
Make sure container has
w-full h-fullclassesVerify background color class is correct
Check that
data-type="container"is set
Next Steps
Now that you understand the basics:
Explore Examples: Check out the Template Examples for inspiration
Learn Widgets: Read the Widget Reference for detailed information
Make Templates Editable: Learn about Editable Fields for user-friendly customization
Experiment: Try different combinations of widgets and animations
Create: Build your own unique templates
Recommended Learning Path
✅ Getting Started (this guide) - Learn the basics
📖 Widget Reference - Understand all available widgets
✏️ Editable Fields - Make templates user-friendly
🖥️ Template Editor - Learn the interface
🎨 Template Examples - See real-world examples
🚀 Create Your Own - Build custom templates
Getting Help
If you run into issues:
Check the syntax: Make sure all HTML is properly formatted
Verify attributes: Ensure all
data-*attributes are correctTest incrementally: Add one element at a time
Contact support: Email [email protected] for help
Last updated