تخطي إلى المحتوى
Corex

Pagination · Patterns

Controlled page, link patch, server events, and client-only updates.

Controlled

Current page: 1

Link patch

  • Zag.js under the hood

    Accessible behavior with Phoenix-friendly SSR.

  • Async lists feel faster

    assign_async plus a short delay shows real loading states.

  • Playground controls

    Tune page size and sibling windows without leaving the demo.

  • Ellipsis in pagination

    Large page counts collapse into prev · 1 … 5 · 10 · next.

Trigger server

  • Getting started with Corex

    Tokens, components, and zero custom CSS.

  • Pagination with LiveView patch

    Link mode updates the URL; the server loads the next slice.

  • Design tokens in practice

    Spacing, ink, and layer colors stay consistent across themes.

  • BEM modifiers on buttons

    button button--accent button--lg — no new class names.

Trigger client

  • Getting started with Corex

    Tokens, components, and zero custom CSS.

  • Pagination with LiveView patch

    Link mode updates the URL; the server loads the next slice.

  • Design tokens in practice

    Spacing, ink, and layer colors stay consistent across themes.

  • BEM modifiers on buttons

    button button--accent button--lg — no new class names.