Skip to main content

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
Live runtime

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

InputTypeDefaultRange
accentText#FF5A1Fhex colour
inkText#17171Chex colour
pageNumber00 – 3

Events (via onTrigger): page