Skip to main content
Elements are the building blocks of your video content, including text, images, videos, shapes, and more. Consider the order of elements in your clip. Elements added later will appear on top of earlier elements.

Properties

Usage

Here’s an example of how to create and customize different types of elements:

Element Types

BlendDuck supports various types of elements. Below are the descriptions of each element type along with example code snippets to create them.

Text

The Text element allows you to add customizable text content to your videon. You can modify properties such as font size, style, and alignment.

Image

The Image element enables you to add static images from a URL.

Video

The Video element allows you to embed video content from a URL. You can manage playback properties such as volume and looping.

Emoji

The Emoji element lets you add dynamic emojis to your Clip.

Shape

The Shape element allows you to add basic geometric shapes to your Clip. You can customize their appearance with different colors or gradients, making them useful for creating backgrounds, dividers, or other visual elements.

Lottie

The Lottie element allows you to embed lightweight animations by Lottie URL, the URL can be .json or .lottie.

Group

The Group element acts as a container for other elements. By grouping multiple elements together, you can apply transformationsto the group as a whole, allowing for better organization and control over complex layouts.

Widget

The Widget element allows for embedding custom-built components. This flexible element type is ideal for dynamic data visualizations, charts, or other resuable blocks in your video.
Create a widget with a AudioPlay controller
A Widget is an extension of an Element. You can use the built-in ready-made widgets or develop your own widgets.

Builtin Widgets

Use ready-made widgets out of box

Build a Widget

Make a widget customized for your needs.