export declare const framesMdxTemplate = "---\ntitle: \"Frames\"\ndescription: \"Give images, videos, and diagrams a bordered container with an optional caption.\"\ndate: \"2026-02-19\"\ncategory: \"Components\"\ncategoryOrder: 1\norder: 15\n---\n# Frames\n\nGive images, videos, and diagrams a bordered container with an optional caption.\n\nA frame lifts visual content out of the surrounding prose. It centers whatever you put inside, wraps it in a soft border, and gives you a place to attach a caption - so screenshots and diagrams read as deliberate figures rather than stray images.\n\n\n \"A\n\n\n## Frame usage\n\nWrap any visual element in ``. Images, videos, iframes, and Mermaid diagrams all work.\n\n```html\n\n \"The\n\n```\n\n## Captions\n\nPass a `caption` to add a short line of context under the content, inside the frame.\n\n```html\n\n \"The\n\n```\n\n\n \"The\n\n\n### Formatting inside captions\n\nCaptions understand a small set of inline Markdown: links, bold, italic, and inline code wrapped in backticks. Everything else is rendered as plain text.\n\n```html\n\n \"The\n\n```\n\n\n \"The\n\n\n\n Links that point to a path starting with `/` are routed through Next.js, so they navigate without a full page reload. External links open in a new tab.\n\n\n## Hints\n\nA `hint` is a line of text that sits above the frame. Use it to set up what the reader is about to look at - captions work better for describing what they just saw.\n\n```html\n\n \"The\n\n```\n\n\n \"The\n\n\nHints accept the same inline Markdown as captions.\n\n## Videos\n\nVideos can be framed like any other element. A video with `autoPlay` is given `muted`, `loop`, and `playsInline` automatically, because browsers refuse to autoplay a video with sound and iOS otherwise opens it fullscreen.\n\n```html\n\n