LowerThird
A name and a role in the lower third, on a card or beside an accent bar.
tsx
import { Clip, Composition, LowerThird, Track } from "@cutcraft/kit";
// LowerThird: a name and a role, on a card that slides up, timed like any title.
export default function Video() {
return (
<Composition fps={30} width={1920} height={1080}>
<Track id="main">
<Clip id="shot" src="asset:coffeeWide" in={4} out={7} fit="cover" />
</Track>
<Track id="over" layout="free">
<LowerThird id="lt" start={0.3} duration={2.7} name="Maya Chen" role="Head roaster, Shed Coffee" />
</Track>
</Composition>
);
}The coffee footage is Pixabay videos 209419 and 209424, under the Pixabay Content License.
Props
Besides the timing props (start, anchor, at, offset, duration):
| param | type | default | description |
|---|---|---|---|
id | string | The component's id; each of its parts' ids starts with it. | |
name | string | The name, in the heading face. | |
role | string | The line under the name, in the body face. Left out: a shorter card with the name alone. | |
variant | "card" | "bar" | "card" | card: on a surface card; bar: the words beside an accent bar, straight over the picture. |
x | number | -560 | The card's centre, in pixels from the frame's centre. |
y | number | 330 | The card's centre, in pixels below the frame's centre. |
width | number (> 0) | 640 | The card's width in pixels; the words wrap inside it. |
accent | string | "$primary" | The colour of the bar beside the words. |