Next Pill
Moves to the next or previous item.
Live preview · click to try it
Variants
3 named variants. Layer names match the names below.
ForwardNext Pill / Forward
BackNext Pill / Back
Forward With CountNext Pill / Forward With Count
States
Next Pill / Default
Next Pill / Hover
Next Pill / Focus
Next Pill / Disabled
Usage
Do
- Carousels, case-study sequences, pagination on small screens.
Don't
- Submitting forms.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Forward · Back · Forward With Count | Forward |
| Label | String | Next |
| Count | Number | 12 |
| Link | Link (page or URL) | None |
Styles it uses
Surface/TileLine/StrongInk/PrimaryAccent/AcidState/Focus
Text: Button M · Data Mono (count)
Accessibility
- Keyboard reachable with a visible 3px State/Focus ring.
- Interactive parts use real buttons and links with accessible names.