Pagination Dots
Four dots for carousels and onboarding. The active one stretches into a dash as it moves to the next page.
- 1.5 KB .bexode
- 3 live inputs
- Responsive fit Layout
Use it
The code follows your customizations. Install with npm i exodeui.
import { ExodeUICanvas } from 'exodeui';
// pagination.bexode goes in /public (download it below)
export function Pagination() {
return (
<ExodeUICanvas
src="/pagination.bexode"
fit="Contain"
autoPlay
interactive
onTrigger={(name) => {
// fires: 'page'
}}
style={{ width: '100%', height: 560 }}
/>
);
}Inputs
| Input | Type | Default | Range |
|---|---|---|---|
accent | Text | #FF5A1F | hex colour |
ink | Text | #17171C | hex colour |
page | Number | 0 | 0 – 3 |
Events (via onTrigger): page