Mografy Templates · Screens and devices

Typed input

A flat input box draws itself, a query types behind an orange caret, send presses and three results rise below.

Motion principlestiminganticipationstagingfollow-through
9:164.5 sFree · MIT
Put it on the editing desk with other templates

Add the template

Run this in your Mografy folder. The template, the shared modules and its fonts are copied into the project; files you changed are kept. A folder that is not a project yet becomes one, with a scene that plays the template.

Terminal
npx mografy add type-input projects/my-film

To watch it on its own, point the project's scene to the template: "scene": "scenes/templates/type-input.ts"

Use it in a film

Play the template on your film's timeline and override its parameters. Pass backdrop: false to draw an overlay template over your own picture.

scenes/main.ts
import * as typeInput from './templates/type-input.js'
import { play } from './templates/kit.js'

// inside renderFrame(ctx, time): play it from 2 s, with your own copy
play(ctx, time, 2, typeInput, { query: "Make a 30-second launch film for Northwind" })

Or describe the film to Claude or Codex: the Mografy Skill knows every template and picks the ones that fit.

For your agent Show a prompt or search being typed and answered. Query up to ~60 characters (two lines). The three result rows are stand-ins in RESULTS: replace them with what the real product returns.
Prompt for Claude or Codex
Add the Typed input template (type-input) to my Mografy project and swap in my own query, label. Keep its timing, then show me a preview.

Parameters

  • querystringMake a 30-second launch film for Northwind
  • kickerstringAsk Northwind
  • themeenum · light | darklight
  • accentcolor#D4643A
  • safeGuidebooleanfalse

Timing and layout live in the template file itself: edit them there, then check and review the frames.

In recipes

This template is part of these recipes. Open one to see the whole sequence and add it with one command.

More like this