Page Controls

Pagination dots for carousels and steppers. Each dot is a native button; the active one carries aria-current and clicking a dot fires a change event.

Install

Examples

Active index

current is the zero-based active page.

Count

total sets the number of dots.

Interactive

Click a dot — the active state moves and a change event fires with the new index.

Disabled

Guidelines

Usage

carousels, onboarding steppers, and any short sequence of pages where a compact position indicator helps. For numbered table pagination, use the Table footer instead.

Do

  • Use for short sequences — a handful of slides or steps.
  • Give the group a meaningful label for context.
  • Keep the dots in sync with the content they page through.

Don’t

  • Don’t use dots for long lists — numbered pagination scales better.
  • Don’t rely on dots as the only way to advance; pair with arrows or swipe.
  • Don’t make dots the sole indicator of progress in a long multi-step form.

Accessibility

Properties

Related