Skip to content
LyEve UI v0.60.1

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.

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.

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.

API

PropTypeDefaultDescription
title requiredstring no defaultThe heading of the warning.
body requiredstring no defaultThe sentence that says why the write was refused.
forward { href: string; label: string } | nullnullWhere the reader gets past the refusal. Opens in a new tab on another origin.
link required{ href: string; label: string } no defaultThe link offered on every refusal.
lead booleanfalseMakes the way forward the primary, where it is the one action on its surface.
class string no defaultExtra classes on the wrapper.