LowerThird data
Who is speaking: a name and a role on a small plate that slides in from the side.
Props#
| Prop | Type | Default | Notes |
|---|---|---|---|
| name* | string | ||
| role | string | "" | |
| ink | color | "ink" |
* 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 | box |
| plate | box |
| name | text |
| role | text |
Example#
{"el": "LowerThird", "name": "Maya Haddad", "role": "Founder"}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": "box",
"id": "plate",
"surface": "card",
"pad": [20, 32],
"gap": 2,
"align": "start",
"motion": [{"do": "enter", "from": {"x": -140, "opacity": 0}, "curve": "punchy"}],
"children": [
{"el": "text", "id": "name", "text": "$name", "size": 50, "weight": 800, "color": "$ink"},
{
"el": "text",
"id": "role",
"text": "$role",
"size": 34,
"weight": 600,
"color": "$ink",
"opacity": 0.72
}
]
}