Circle Cut Frame
Circle Cut Frame: Ticket-style frame with circle-cut edges on all sides — defaults to white; pass width, height, frameColor, and any image, video, or content as children. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Circle Cut Frame
npx motion-ui-skill add circle-cut-frameComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Circle Cut Frame
Ticket-style frame with circle-cut edges on all sides — defaults to white; pass width, height, frameColor, and any image, video, or content as children.
Install
npx motion-ui-skill add circle-cut-frame
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { CircleCutFrame } from "@/components/frames/circle-cut-frame";
export function CircleCutFrameDemo() {
return (
<div className="flex items-center justify-center p-6">
<CircleCutFrame />
</div>
);
}
API Reference
CircleCutFrame
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |