Transform Plus Frame
Transform Plus Frame: Bounding box with plus corner handles — thicker handle strokes than border lines. Defaults to all black; pass lineColor and handleColor for dual-tone frames. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Transform Plus Frame
npx motion-ui-skill add transform-plus-frameComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Transform Plus Frame
Bounding box with plus corner handles — thicker handle strokes than border lines. Defaults to all black; pass lineColor and handleColor for dual-tone frames.
Install
npx motion-ui-skill add transform-plus-frame
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { TransformPlusFrame } from "@/components/frames/transform-plus-frame";
export function TransformPlusFrameDemo() {
return (
<div className="flex items-center justify-center p-6">
<TransformPlusFrame />
</div>
);
}
API Reference
TransformPlusFrame
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |