Ios Digital Clock
Ios Digital Clock: Live HH:MM in an iOS squircle with subtle tick marks around the edge. The kind of clock tile you'd find on a lock screen. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Ios Digital Clock
npx motion-ui-skill add ios-digital-clockComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Ios Digital Clock
Live HH:MM in an iOS squircle with subtle tick marks around the edge. The kind of clock tile you'd find on a lock screen.
Install
npx motion-ui-skill add ios-digital-clock
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { IosDigitalClockWidget } from "@/components/widgets/ios-digital-clock-widget";
export function IosDigitalClockWidgetDemo() {
return (
<div className="flex items-center justify-center p-6">
<IosDigitalClockWidget />
</div>
);
}
API Reference
IosDigitalClockWidget
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |