Transform Box Frame
Transform Box Frame: Design-tool bounding box with separate line and handle colors — 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 Box Frame
npx motion-ui-skill add transform-box-frameComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Transform Box Frame
Design-tool bounding box with separate line and handle colors — defaults to all black; pass lineColor and handleColor for dual-tone frames.
Install
npx motion-ui-skill add transform-box-frame
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { TransformBoxFrame } from "@/components/frames/transform-box-frame";
export function TransformBoxFrameDemo() {
return (
<div className="flex items-center justify-center p-6">
<TransformBoxFrame />
</div>
);
}
API Reference
TransformBoxFrame
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |