Components
Frame
Styled borders, hints, and captions for screenshots or other media.
Use Frame to visually contain media or custom content with optional hints and
captions.
Basic usage#

Markdown captions#
Caption strings support Markdown links, bold, italic, and inline code.

Hints#
Use hint to display text before the frame. You can combine it with a caption.
Use a high-resolution source image.

Autoplay videos#
Videos with autoPlay automatically receive playsInline, loop, and muted
attributes. Videos without autoPlay are left unchanged.
With code or other children#
VITE_API_URL=https://api.example.com.envProperties#
| Name | Type | Description |
|---|---|---|
| caption | ReactNode | Optional centered caption below the framed content. String values support inline Markdown. |
| hint | ReactNode | Optional text displayed before the frame. String values support inline Markdown. |
| children | ReactNode | Media or other content to frame. |
Last updated on