TLEmbedShapeProps

See source code
Table of contents

Properties for the embed shape, which displays embedded content from external services.

interface TLEmbedShapeProps {}

Properties

h

Height of the embed shape in pixels

h: number

url

URL of the content to embed (supports YouTube, Figma, CodePen, etc.)

url: string

w

Width of the embed shape in pixels

w: number

Prev
TLDrawShapeSegment
Next
TLFrameShapeProps