Torch Face
Torch Face: Yellow flashlight toggle with a face that lights up when the torch is on. Small detail, but the kind people notice on a control sheet. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Torch Face
npx motion-ui-skill add torch-faceComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Torch Face
Yellow flashlight toggle with a face that lights up when the torch is on. Small detail, but the kind people notice on a control sheet.
Install
npx motion-ui-skill add torch-face
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { TorchFaceWidget } from "@/components/widgets/torch-face-widget";
export function TorchFaceWidgetDemo() {
return (
<div className="flex items-center justify-center p-6">
<TorchFaceWidget />
</div>
);
}
API Reference
TorchFaceWidget
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |