Revel
GitHub
GitHub
  • Overview

    • Getting started
    • FAQ
    • Release notes
  • Foundations

    • Meet the standard
    • Accessibility
    • Internationalization
    • Information hierarchy
    • Speed
  • Design

    • Visual principles
    • Colors
    • Space
    • Icons
    • Typography
  • Design tokens
  • Style helpers
  • Content

    • Express your ideas
    • Actionable language
    • Inclusive and accessible language
    • Alternative text
    • Grammar and mechanics
      • Basics
      • Capitalization
      • Dates and units of measurement
      • Punctuation
  • Components

    • Alert
    • Avatar
    • Badge
    • Button
    • Button group
    • Checkbox
    • Date Input
      • dates
      • datetimes
      • ranges
      • date range
    • Field group
    • File upload
    • Flex
    • Grid
    • Icon
    • Image
    • Input
    • Loader
    • Modal
    • Month picker
    • Multistep
      • multistep
      • step
    • Pagination
    • Popper
    • Radio
    • Repeater
    • Select
    • Tabs
    • Tile
    • Toast
    • Toggle
  • Directives

    • Click outside
    • Tooltip

Date Range

The Date Range component allows users to select a date range with an intuitive calendar interface. It supports preset date ranges, time picking, and responsive layouts for desktop and mobile.

Usage

import { RDateRange } from '@rebilly/revel';

<r-date-range v-model="dateRange" label="Select dates" />;

Basic Example

r-date-range-basic.vue

With Time Picker

Enable time selection by adding the show-time-picker prop.

r-date-range-with-time.vue

Constrained Date Range

Use min-date and max-date props to limit selectable dates.

r-date-range-constrained.vue

API

Props

NameTypeDefaultDescription
labelstring''

placeholderstring'Select date range'

disabledbooleanfalse

validateNullable, ValidationStatenull

showValidateMessagesbooleanfalse

timezonestring'UTC'

showPresetsbooleantrue

showTimePickerbooleantrue

is24hrbooleanfalse

minDateunion, Date, stringundefined

maxDateunion, Date, stringundefined

columnsunion, 1, 2undefined

Events

NameDescription
apply
cancel
clear
Edit this page
Last Updated: 1/20/26, 10:03 AM
Contributors: Mo Jahani
Prev
ranges