Skip to Content
SmartUI

Date Range Picker

Pick a start and an end date.

Period

Usage

import { DateRangePicker } from '@smartui/react';
import '@smartui/react/styles.css';

When to use

  • Report periods and multi-day closures.

When not to use

  • A single date. Use Date Picker.

Props

PropTypeDefaultDescription
labelstring-Always visible above the control.
helperTextstring-Help text below the control.
errorMessagestring-Shown when isInvalid; replaces the helper text.
variant'raised' | 'flat''raised'Raised on the canvas, flat inside a white card.
size'sm' | 'md' | 'lg''md'md on desktop, lg on touch.
isInvalid, isDisabled, isRequiredbooleanfalse
value, defaultValue, onChange{ start, end }-
minValue, maxValueDateValue-

Accessibility

  • The selected range is read in full.

On this page