Back to Pagy

Dev Tools

docs/sandbox/dev_tools.md

43.5.31.1 KB
Original Source

:icon-ai-model:  DevTools


Pagy offers a couple of tools to ease your development process.

You can activate them by adding this line in the <head> of your layout/page:

erb
<%== Pagy.dev_tools %>

:::content-center {{ include "snippets/run-app" app: "demo" }} :::

:icon-north-star:  Pagy Wand

Adjust a few sliders to see the style changing in real time, right in your app...

  • Control most of the visual aspects of pagy with a few presets and sliders.
  • Copy/paste the generated "CSS Override" block in your stylesheet to persist it in your app.
  • Click on the :icon-question: icon on the Wand for help.

:::raised {width=450} :::

Watch the Pagy Wand demo video:

:::raised {width=450} :::

:icon-sparkle:  Pagy AI

Answer to your specific questions, right in your app. Just type questions like: "What are the available paginators for DBs and search platforms?"