LoadMore
moleculesThe row at the end of a growing list: a load button, a spinner while loading, an error with retry, and a quiet "no more" when the list is complete.
Activity feed
state cycles idle → loading → idle as onload appends rows, then done once the source is exhausted.
- user Can you summarise the **release notes** for 0.62?
- assistant Sure. Highlights:
Pill and custom labels
pill rounds the button; label, loadingLabel, errorLabel, retryLabel and doneLabel replace every string.
Could not reach the archive
You are all caught up
States
state="idle" | "loading" | "error" | "done"; only idle and error are clickable.
idle
loading
error
Failed to load
done
No more items
Props
| Prop | Type | Default | Description |
|---|---|---|---|
state | 'idle' | 'loading' | 'error' | 'done' | 'idle' | |
onload | () => void | — | |
label | string | 'Load more' | |
loadingLabel | string | 'Loading…' | |
errorLabel | string | 'Failed to load' | |
retryLabel | string | 'Retry' | |
doneLabel | string | 'No more items' | |
pill | boolean | false | |
sound | boolean | true | Play UI sounds when enabled globally; false silences this instance. |
class | string | '' |