Start time
––:–– AM
End time
––:–– AM
"use client"
import { TimeField } from "@/components/ui/preskok-ui/time-field"
export function TimeFieldPreskokDemo() {
return (
<div className="space-y-4">
<TimeField label="Start time" />
<TimeField label="End time" />
</div>
)
}
Installation
CLI
Manual
pnpmnpmyarnbunpnpm dlx @preskok-org/ui@latest add time-field
Usage
import { TimeField } from "@/registry/preskok/ui/preskok-ui/time-field"
export function TimeFieldDemo() {
return <TimeField label="Time" />
}