Skip to main content

Date And Time

Quick start

Here's a quick start guide to get started with the date and time component

Importing Component

import { DateTimePicker } from "@hover-design/react";

Code Snippets and Examples

DateTimePicker Default

<DateTimePicker type="datetime-local" />

Date

<DateTimePicker type="date" />

Time

<DateTimePicker type="time" />

Month

<DateTimePicker type="month" />

Week

<DateTimePicker type="week" />

Props Referece

AttributesValuesOptional ?
typedatetime-local | date | time | month | weekNo
valuestringYes