Components / Data display / Calendar list

D10 · Data display

Calendar list

Events split into Upcoming, This week, and Overdue.

When to use

  • Events are a list with a date, not a month grid.
  • People switch among upcoming, this week, and overdue.

When not to use

  • The view is a month of day cells.
  • Events have no date.

Usage

<div class="c-tabs" role="tablist">
  <button type="button" role="tab" data-bucket="upcoming" aria-selected="true">Upcoming</button>
  <button type="button" role="tab" data-bucket="overdue" aria-selected="false">Overdue</button>
</div>

Variants

The preview shows the form used in the gallery.

Props

NameTypeDefaultDescription
data-bucketupcoming, week, overdueupcomingWhich tab is open.
data-eventbucket names—An event can sit in more than one tab.

Keyboard

KeyAction
Enter or SpaceSelects a tab.
TabMoves from the tabs into the list.

Accessibility

Motion

Pattern origin

Pattern type: an event list split by tabs.

Related

Feed listPill tabs