

Every state


default


hover


focus


after-article
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| label | string | "Back to top" | The visible label. |
| threshold | number | 600 | How far the page must scroll before it shows, in pixels. |
| position | "fixed" | "inline" | "fixed" | Fixed in the bottom-right corner, or in the flow where it is placed. |
| targetId | string | – | Id of the element that gets focus at the top; defaults to <main>, then the body. |
| visible | boolean | – | Always show it (previews). |
| className | string | – | Extra classes on the button. |
More buttons
All 14button-02 is in UI ProGet UI Pro, €199


