Skip to content
PreviewCalm day: inviting people reaches the cap, and the notice stands right under the invite control.

LimitNotice

nesting
"contained-object"
Mark a separately framed inline notice contained in another surface.
namerequired
ReactNode
The limit's name in plain words ("Invitations to strangers", "Checkout starts").
caprequired
ReactNode
The cap in words ("5 in 24 hours", "3 a day", "0 while narrow").
liftsrequired
ReactNode
When the limit lifts ("In 14h 20m", "Nov 21, 09:00").
count
ReactNode
Optional count reached ("5 of 5", "10 today"). Omitted when absent.
description
ReactNode
Optional one-line detail. Defaults to "You reached this limit." in "page" layout; pass false to omit.
contestHref
string
Address to contest the limit; renders Contest as a link.
onContest
() => void
Starts contesting in place; renders Contest as a button.
contestLabel
ReactNode
Default: "Contest"
Label for the contest control.
contesting
boolean
Default: false
Keeps the Contest button busy while a contest is being sent.
contested
boolean | ReactNode
Default: false
Already contested: replaces Contest with a quiet status line (true or custom text).
contestNote
ReactNode
Plain words on how to contest (for example a contact address on a signed-out screen).
layout
"inline" | "page"
Default: "inline"
"inline": compact notice under the control that met it. "page": whole-page state.
brand
string | false
Default: "Arcadia"
Accessible name for the Arcadia mark in "page" layout, or false to omit it.
align
"center" | "start"
Default: "start"
start: the page state's column read from its start edge, at --app-settings-width. center: the same column and its words centred, at --home-width, as NotFoundPage draws it.
fill
boolean
Default: true
In "page" layout: fill the viewport as main on --bg-app. Set false inside an existing frame.
rootStyle
RootStyle
Typed StyleX override: layout.

Rest props go to HTMLAttributes<HTMLElement>.

State machine

PreviewThe notice explains the limit and when it lifts.

Invitations

Used
5 of 5
Limit
5 in 24 hours
Lifts
In 14h 20m