Skip to main content

Text

Renders styled text. Use the variant prop to control the visual style.
string
required
The text to display.
'default' | 'muted' | 'bold' | 'heading'
default:"default"
"heading" — large and bold, for titles. "bold" — semibold emphasis. "muted" — smaller and dimmed, for descriptions. "default" — normal text.

Practical Example

Use Text to show the current state of a storage value, or as labels and descriptions in your settings panel:

Image

Displays an image from a URL. Handles loading states automatically.
string
required
Image source. Supports http(s) URLs and extension-local files from public/ (for example: /assets/icon.png).
string
Alt text for accessibility.
number
Width in pixels.
number
Height in pixels.

Practical Example

Let the streamer provide an avatar URL in the editor, then display it on the overlay: