Button
Load More
Loading a list by button: a counter of what is shown, the same share as a bar and an honest loading state instead of an endless feed.
What you can change
- the idle, loading and end labels through the label, loadingLabel and doneLabel props
- the counter template through the counterText prop with {shown} and {total}
- the initial numbers and the step through the shown, total and step props
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/button-067?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, palette in the local --vibeui-button-067-* variables. Client side: it keeps the shown counter, moves the button into the loading state on click, adds the step and calls onLoadMore with the next value. The share is written into the --vibeui-button-067-share variable and the bar below takes its width from it — no recalculation in JS. The arrow and the spinner occupy the same 0.875rem cell, so the label never shifts. Once everything is shown the button is disabled and changes its label.
Tags
- button
- pagination
- load-more
- list
- async
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…