Frame
Crop marks that frame media without competing with it.
Live — this one is real
A place for your work
Usage
import { Frame } from "mizu-ui";
export function Example() {
return (
<Frame label="Artwork">
<div style={{ padding: 40, textAlign: "center" }}>
A place for your work
</div>
</Frame>
);
}
Source & setup
Import mizu-ui/styles.css once. Fonts are optional via mizu-ui/fonts.css. Override --mizu-* tokens or use className for local styling. Uses native React and CSS; install the package peers for root imports.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | Figure caption. |
| tone | "line" | "line-bright" | "line" | Border contrast. |
Accessibility
Uses figure/figcaption semantics. Content provides its own alternative text.
Motion
Static framing.