GitHub

Components

Frame

Add visual emphasis with styled frames

Frames add visual emphasis to images, videos, or other embedded content.

Basic Usage

Barodoc Logo
Barodoc dashboard preview
<Frame caption="Barodoc dashboard preview">
  <img src="/images/dashboard.png" alt="Dashboard" />
</Frame>

Without Caption

Barodoc Logo
<Frame>
  <img src="/images/screenshot.png" alt="Screenshot" />
</Frame>

With Video

Demo video
<Frame caption="Demo video">
  <video controls className="w-full">
    <source src="/videos/demo.mp4" type="video/mp4" />
  </video>
</Frame>

Props

captionstring

Optional caption text displayed below the frame

classNamestring

Additional CSS classes

childrenReactNoderequired

Content to display inside the frame (images, videos, etc.)