BigWord data
One huge word or number. Put it behind the speaker (the back layer) so their head overlaps it.
Props#
| Prop | Type | Default | Notes |
|---|---|---|---|
| text* | string | ||
| size | number (80 to 1200) | 620 | |
| color | color | "accent" | |
| italic | bool | false | |
| tracking | number (-0.1 to 0.6) | -0.06 | |
| from | pose | {"y":200,"scale":0.8,"opacity":0} | |
| curve | curve | "punchy" | |
| outline | color | ||
| outlineW | number (0 to 60) | 0 | |
| glow | color |
* required. Every node also takes the common props: id, motion, start, place, scale, rotate, opacity, w, h. A colour is a palette name, never a value.
Parts#
Named parts can be restyled from outside without making a new component: "parts": { "root": { … } }.
| Part | Is a |
|---|---|
| root | text |
Example#
{"el": "BigWord", "text": "20"}How it is made#
This component is plain data. Its whole definition is the tree below: copy it into a scene's components list under a new name to make your own version. See Custom components.
{
"el": "text",
"text": "$text",
"size": "$size",
"weight": 800,
"leading": 0.82,
"color": "$color",
"italic": "$italic",
"tracking": "$tracking",
"outline": "$outline",
"outlineW": "$outlineW",
"glow": "$glow",
"align": "center",
"motion": [{"do": "enter", "from": "$from", "curve": "$curve"}]
}