Feedback
RefusalNotice
A write the server refused, said the same way on every page. It draws a warning Alert holding the title and the sentence the page passes, the way forward when there is one, and a link offered on every refusal, such as the page where the setting is read. The kit holds none of the words, so a limit that was lifted never reads as a stale one here.
Basic
With no way forward the notice offers only link, as a secondary button.
Webhook not saved
This workspace already has 10 webhooks, which is as many as it allows.
A way forward
forward is where the reader gets past the refusal, when the refusal names a place. A notice
usually sits in a drawer or on a page that already has its own Create or Save, and a surface holds one
primary, so the way forward is a secondary button and the other link a ghost.
Webhook not saved
This workspace already has 10 webhooks, which is as many as it allows.
Lead
Where the way forward is the one action on its surface, lead makes it the primary button,
and the other link becomes a secondary. A way forward on another origin opens in a tab of its own, so
the page it opens cannot reach back into this one. One on the same origin stays in the same tab.
Export refused
Exports need a plan that includes them.
API
| Prop | Type | Default | Description |
|---|---|---|---|
title required | string | no default | The heading of the warning. |
body required | string | no default | The sentence that says why the write was refused. |
forward | { href: string; label: string } | null | null | Where the reader gets past the refusal. Opens in a new tab on another origin. |
link required | { href: string; label: string } | no default | The link offered on every refusal. |
lead | boolean | false | Makes the way forward the primary, where it is the one action on its surface. |
class | string | no default | Extra classes on the wrapper. |