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 frame

  • bg-blue-500 - Sets a blue background color

  • data-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 perfectly

  • text-white text-4xl font-bold - Styles the text (white, large, bold)

  • data-type="text" - Makes this an animated text widget

  • data-editable="true" - Makes this field editable in the template editor

  • data-label="Main Headline" - Gives the field a custom name in the editor

  • data-animate="fade" - Creates a fade-in effect

  • data-start="0" - Animation starts immediately

  • data-duration-animation="2" - Animation takes 2 seconds

Step 3: Test Your Template

  1. Copy the HTML code above

  2. Paste it into the HTML String field in Tintage

  3. Set your background color to #3b82f6 (blue)

  4. Click "Render video"

  5. 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-full classes

  • Must 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:

Widget
Purpose
Example
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:

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

  1. Start Simple: Begin with basic text and animations

  2. Test Frequently: Render videos often to see your progress

  3. Adjust Timing: Fine-tune animation start times and durations

  4. Refine Styling: Experiment with colors, fonts, and spacing

Common Issues and Solutions

Text not appearing:

  • Check that data-type="text" is set correctly

  • Verify the element has content inside

  • Make sure data-start time is reasonable

Animation too fast/slow:

  • Adjust data-duration-animation value

  • Longer 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-full classes

  • Verify background color class is correct

  • Check that data-type="container" is set

Next Steps

Now that you understand the basics:

  1. Explore Examples: Check out the Template Examples for inspiration

  2. Learn Widgets: Read the Widget Reference for detailed information

  3. Make Templates Editable: Learn about Editable Fields for user-friendly customization

  4. Experiment: Try different combinations of widgets and animations

  5. Create: Build your own unique templates

  1. Getting Started (this guide) - Learn the basics

  2. 📖 Widget Reference - Understand all available widgets

  3. ✏️ Editable Fields - Make templates user-friendly

  4. 🖥️ Template Editor - Learn the interface

  5. 🎨 Template Examples - See real-world examples

  6. 🚀 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 correct

  • Test incrementally: Add one element at a time

  • Contact support: Email [email protected] for help


Last updated