Allows you to provide a date in natural language and helps by giving suggestions.
yesterday Sat Sep 13 2025
6:27:07 AM
today Sun Sep 14 2025
6:27:08 AM
tomorrow Mon Sep 15 2025
6:27:08 AM
toast.success(label, {
description: `${date.toDateString()} ${date.toLocaleTimeString()}`
})}
/>
Installation
jsrepo add ui/nlp-date-input
Min/Max
You may want to limit what suggestions are actually presented to the user so that they don't schedule an appointment 30 years from now. You can do this with the min and max props.
today Sun Sep 14 2025
6:27:08 AM
toast.success(label, {
description: `${date.toDateString()} ${date.toLocaleTimeString()}`
})}
/>