# Inputs >> Input Date >> Features ||20 ```js script import { html } from '@lion/core'; import { MinDate, MinMaxDate, MaxDate } from '@lion/form-core'; import { loadDefaultFeedbackMessages } from '@lion/validate-messages'; import { formatDate } from '@lion/localize'; import '@lion/input-date/define'; ``` ## Is a date ```js preview-story export const isADate = () => html` `; ``` ## With minimum date ```js preview-story export const withMinimumDate = () => { loadDefaultFeedbackMessages(); return html` `; }; ``` ## With maximum date ```js preview-story export const withMaximumDate = () => { loadDefaultFeedbackMessages(); return html` `; }; ``` ## With minimum and maximum date ```js preview-story export const withMinimumAndMaximumDate = () => { loadDefaultFeedbackMessages(); return html` Enter a date between ${formatDate(new Date('2018/05/24'))} and ${formatDate( new Date('2018/06/24'), )}. `; }; ``` ## Faulty prefilled ```js preview-story export const faultyPrefilled = () => html` `; ```