date/01-basic-date
A simple date component for date selection with today indicator and week numbers. Click a date to select it.
import React from 'react'
import type { ReactNode } from 'react'
import { Date as DatePicker } from 'ui-lab-components/date'
export default function Example() {
const [date, setDate] = React.useState<globalThis.Date | null>(null)
return <DatePicker value={date} onChange={setDate} />
}