Frame
Browser/window chrome that frames a screenshot or product mockup.
Import
tsx
import { Frame } from "@cooud-ui/ui";
bash
npx cooud-ui add frame
Examples
API Reference
Generated from the component's exported types.
FrameProps
Extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof frameVariants>
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "browser" | "window" | "browser" | Chrome style. `browser` shows an address bar; `window` is a plain title bar. |
url | string | — | URL shown in the address bar (browser variant only). |