Skip to main content
Textbox is the animated text element in the Demokraft Studio editor. You can add it on top of any part of your video to display text — a title, a key stat, a call-to-action, a label, or any other copy — with animated entry and exit effects and visual styling like shadows, outlines, and color blends. Unlike basic captions (which follow the spoken word), Textbox clips are fully manual: you decide exactly what the text says, where it sits on screen, when it appears, how it moves in, and how it looks. A Textbox clip is defined by six things:

Adding a Textbox

1

Open the Effects Panel

In the Studio editor, open the Effects panel in the left sidebar.
2

Add the Element

Click the Textbox icon (a rectangle with “T” inside).
3

Default Placement

A default Textbox clip is placed at the current playhead position covering the full width of the video.
4

Configure

The config panel opens on the right. Type your text, adjust the style, and click Apply.
Drag & resize on canvas: You can drag the textbox to reposition it while playback is paused. Drag the left or right edge handle to adjust the width. Double-click the textbox on the canvas to edit the text inline without opening the panel.

1. Text

The Text panel is where you type the words that will appear in the video.
  • Type or paste your text in the text area.
  • Use Enter / Return to add line breaks.
  • The canvas preview updates in real time as you type.
Keep the text short and punchy. Long sentences may wrap awkwardly at smaller font sizes or narrow widths.

2. Timing

You can also drag the clip’s edges in the timeline to adjust the timing visually.
The animation entry plays from the Start time. Make the clip duration ≥ Entry + Hold + Exit so the animation completes before the clip ends.

3. Style

The Style panel controls the typography: font, size, color, and fill.

Text Type Presets

Click a preset to instantly apply a complete set of font settings tuned for that role: Selecting a preset updates Font size, Font weight, Letter spacing, and Line height all at once. Switching to “Custom” clears the preset selection so you can adjust everything manually.

Font Family

Choose from 50+ fonts including: Each font family in the list has its weight and italic variants directly available as separate entries (for example: Poppins, PoppinsBold, PoppinsItalic, PoppinsBoldItalic). Select the specific variant you want rather than using the weight or italic controls.
For non-Latin scripts (Arabic, Hindi, Bengali, Japanese, Chinese, Korean, Thai, etc.), choose the matching NotoSans variant from the font list — these are specifically designed for correct rendering of those character sets.

Font Size

Set the size in pixels. Range: 8 px to 300 px. Default: 48 px. The text automatically wraps inside the textbox width. If the font size is too large for the content to fit in one or two lines, reduce the size or widen the textbox.

Text Alignment

Letter Spacing

Adjusts the horizontal gap between characters. Range: -10 to 30 px. Default: 0.
  • Negative values tighten the text (good for large display titles).
  • Positive values spread the text out (good for label / all-caps styles).

Line Height

Adjusts the vertical gap between lines of wrapped text. Range: 0.8x to 2.5x. Default: 1.2x.
  • Tighter values (0.9–1.1) look good for large bold titles.
  • Looser values (1.4–2.0) improve readability for multi-line body text.

Fill

The Fill control sets the color of the text itself. Solid fill — Pick a single color. Default: white (#ffffff).
Gradient fill — The text is painted with a smooth blend from one color to another.

Text Glow

An optional soft halo radiated from each text character. Applies to all effect types (none, shadow, outline, background, blend). Enable via the Text Glow toggle in the Style panel. If Text Shadow (in the Background effect) and Text Glow are both enabled at the same time, the canvas preview shows only the shadow (canvas has a single-shadow API). The exported video also suppresses glow when text shadow is active, so the two render identically. Use one or the other for consistent results.

4. Position & Size

Keep X around 10% and Width around 80% to leave breathing room on both sides. For a centered single-word title, you can set X = 0 and Width = 100 with Center alignment.

5. Effect

Effects change the visual treatment of the text — adding depth, contrast, or blending it into the video. There are six options.

None

No effect applied. The text renders as plain colored text over the video.

Shadow

Adds a drop shadow behind the text. For a clean shadow, use a small distance (5–10), moderate blur (10–20), and low-to-medium opacity (20–40%). For a glow effect, set distance to 0 and increase blur significantly.

Outline

Draws a solid border around each letter. Outline is great for ensuring readability on busy video backgrounds. Keep thickness between 8–20 for a natural look.

Background

Draws a filled shape behind the text — a pill-shaped box (rounded rectangle) that acts as a backdrop. Optionally adds a border, a drop shadow behind the box, and a shadow cast by the text characters themselves.

Fill

Border (optional)

Appears when Border Width > 0

Border Glow (optional)

Toggle on to reveal controls

Frosted Glass Fill (optional)

Toggle on to reveal controls A stylistic glass-card look. When this toggle is on, the regular Fill Color and Fill Opacity controls are hidden — glass fill is mutually exclusive with solid fill. Rendered as a translucent tint plus a top-down sheen (lighter at the top, slightly darker at the bottom) that sells the “glass surface” effect. This is a stylistic look — it does NOT sample or blur the actual video behind the textbox (canvas/export render identically).

Frosted Glass Border (optional)

Toggle on to reveal controls A stylistic translucent ring at the box rim with a thin inner highlight — looks like the rim of a glass card. Drawn on top of the regular Border (additive — both render together if both are enabled). Important — interaction with Fill: When Frosted Glass Border is enabled, the Fill (solid OR glass) is automatically inset by Width pixels so the rim stays transparent and the glass ring shows the video frame underneath (instead of blending with the fill color). Turn the toggle off to restore the full-size fill.

Box Shadow (optional)

Toggle on to reveal controls

Text Shadow (optional)

Toggle on to reveal controls A semi-transparent background (40–65% opacity) is the most readable treatment for text over a moving video. Pair with center alignment and a bold font for maximum legibility. Enable Box Shadow to lift the card visually off the background. For a “premium UI” feel, try Frosted Glass Fill + Frosted Glass Border together — the glass tint at low opacity reads as a translucent panel and pairs naturally with light text.

6. Animation

Animations control how the text enters (and optionally exits) the screen. The text is split into individual units — characters, words, or lines — and each unit animates in sequence with an auto-derived stagger delay.

Timing vs. Animation Phases

The Timing section wins. If Entry + Hold + Exit exceeds the clip duration, the animation phases that fall outside the clip window are cut off. The text still disappears at the End time you set in Timing — the animation just won’t complete. The Animation panel shows an orange warning when the sum exceeds the clip duration. Best practice: set Start/End first in the Timing section to define how long the textbox should be visible, then tune Entry + Hold + Exit to fit within that duration. Entry + Hold + Exit does not need to exactly equal the clip duration — any remaining time is absorbed as extra hold.

Phase Duration Fields

  • Set Entry = 0 to make text appear instantly (snap in) with no animation.
  • Set Hold = 0 to transition directly from entry into exit with no pause in between.
  • Set Exit = 0 to disable the exit phase (text holds until the clip ends).
Stagger: within each phase the system automatically spaces unit animations using a 40/60 split — 40% of the phase time is spread as stagger delays, 60% is per-unit animation time. You never set stagger manually.

Animation Speed Guide

Pro Tips for Speed: * Words/Lines: Increase Entry to 1.5–2s to give all words time to stagger in fluidly.
  • Characters: For short words, 0.5s is snappy. For full sentences, use 1.0–1.5s to keep it readable.
  • Count/Decode: Entry is the full animation duration.
  • Typewriter: Entry controls the total typing time regardless of character count.

Animation Types


Tips & Best Practices

Readability:
  • Use the Background or Shadow effect if your video is visually busy — plain text over complex video can be hard to read.
  • White text on dark video needs no effect. Dark text on bright video benefits from a white outline or shadow.
Timing:
  • Make your clip duration ≥ Entry + Hold + Exit. If the clip is shorter, the animation phase will be compressed. Check the Total readout in the Animation panel.
  • For entry animations on long text with word-split, increase Entry to 1.5–2 s so all words have time to enter before the hold begins.
Animation Choice:
  • Titles: Drop, Scale, or Words
  • Data callouts: Count, Coded, Decode
  • Flowing multi-item text: Carousel
  • Subtle overlays: Fade, Ascend
  • Code / technical labels: Typewriter
Font Pairing:
  • Title (large) + Caption (small) = a classic size hierarchy.
  • Use SpaceGrotesk or BebasNeue for big display numbers; Inter or Poppins for readable body text.
  • Avoid using very light fonts (weight 300) at small sizes on busy backgrounds — they disappear.
Export:
  • The visual result in the canvas preview matches the exported video exactly — same fonts, same animation timing, same effects.
  • Textbox clips are rendered as a PNG image sequence on the backend and composited over your video at export time. Export time increases slightly with more Textbox clips.