Skip to content

Recurrence Picker for Angular

AngularDate and Time

Edit how something repeats: a RecurrenceRule (RFC 5545 RRULE subset from @absoluteui/core) built from native controls for frequency, interval, weekdays, day of month or nth weekday, month, and the end (never, on a date, after a count), with a live summary and a preview of the next occurrences in the timezone. The form value is iCalendar text (RRULE plus EXDATE/RDATE lines).

  • Repeat rulesDaily, weekly, monthly, or yearly with an interval, weekdays, and monthly positions.
  • Ends your wayNever, after a number of occurrences, or on a date.
  • Readable summaryA plain-language summary and a preview of the next occurrences.
  • Standard rulesValues are recurrence rules that convert to and from the iCalendar RRULE format.

Behavior, design tokens, and limitations are described on the Recurrence Picker page; this page covers the Angular API.

import { Component } from '@angular/core';
import { FormControl, ReactiveFormsModule } from '@angular/forms';
import { parseRecurrenceRule, plainDate, type RecurrenceRule } from '@absoluteui/core';
import { AuiRecurrencePicker } from '@absoluteui/angular/recurrence-picker';
@Component({
selector: 'app-repeat',
imports: [ReactiveFormsModule, AuiRecurrencePicker],
template: `<aui-recurrence-picker label="Repeat" [start]="start" [formControl]="rule"></aui-recurrence-picker>`,
})
export class RepeatComponent {
readonly start = plainDate(2026, 9, 29);
readonly rule = new FormControl<RecurrenceRule | null>(parseRecurrenceRule('FREQ=WEEKLY;BYDAY=TU'));
}
Terminal window
npm install @absoluteui/angular @absoluteui/components @absoluteui/core @absoluteui/theme

Setup with provideAbsoluteUI() is covered in Getting started. Styles are included with the component.

import { AuiRecurrencePicker } from '@absoluteui/angular/recurrence-picker';

Defaults for every instance: provideAbsoluteUIConfig({ components: { recurrencePicker: { ... } } }) (see Configuration).

Class AuiRecurrencePicker; template reference #ref="auiRecurrencePicker".

Server rendering: Renders on the server; the browser re-creates it after hydration.

Angular forms: implements ControlValueAccessor and Validator; the form value is RecurrenceRule \| null. Bind [formControl], formControlName, or [(ngModel)]; validation messages of the component report through the aui error key. See Forms.

Input Type Default Description
label string Required. Legend of the fieldset (required accessible name).
hideLabel boolean false Visually hide the legend; it stays the accessible name.
start PlainDate | PlainDateTime | null Series start: defaults, the minimum end date, and the preview.
frequencies readonly RecurrenceFrequency[] Frequencies offered. Default all four.
maxInterval number '99' Largest interval.
maxCount number '999' Largest occurrence count.
name string Form field name of the hidden input (iCalendar text).
description string Help text referenced by the fieldset.
required boolean false “Does not repeat” is invalid.
disabled boolean false Disables every control; not submitted.
firstDayOfWeek IsoWeekday First weekday toggle. Default: the locale’s first day of week.
validate (value: RecurrenceRule | null) => string | null Consumer validation after built-in checks.
icons Partial<RecurrencePickerIcons> Icon slot overrides.
validationTiming ValidationTiming 'blur' When validation messages first appear.
previewCount number '5' Next occurrences listed under the summary (needs start); 0 hides the preview.
locale string 'en-US' Month and weekday names, dates, numbers, the first day of the week, and messages.
timezone string 'UTC' Timezone of the start wall-clock time, the preview, and UNTIL.
disambiguation Disambiguation 'compatible' DST policy for wall-clock times in a gap or overlap.
direction "ltr" | "rtl" 'ltr' Reading direction; Left/Right arrow keys and chevrons follow it.
Model Type Change output Description
[(value)] RecurrenceRule | null (valueChange) The value: [(value)] without forms; with Angular forms, bind the form control instead.
Output Payload Description
(changed) RecurrencePickerChangeDetail The user changed the rule or its validity error. Re-emits aui-change.

Call them through a viewChild query or a template reference.

Method Description
reportValidity(): boolean | undefined Show messages now and return validity.
setCustomError(message: string | null): void External error; cleared when the user edits.
getFormValue(): string | null | undefined iCalendar text, or null when not repeating or invalid.
focus(): void Focus the frequency select.
reset(): void Restore the initial value and clear state (no events).

Pattern: A fieldset of native form controls (select, number inputs, radio groups, toggle buttons) with a legend, a live summary, and a list of next occurrences.

The Angular component renders the framework-neutral component, so its keyboard support, roles, WCAG 2.2 criteria, budgets, and import cost apply unchanged: see Recurrence Picker: Accessibility and performance.