Skip to content
No access, light
Light
No access, dark
Dark

Every state

  • No access, default, light
    No access, default, dark

    default

  • No access, hover, light
    No access, hover, dark

    hover

  • No access, focus, light
    No access, focus, dark

    focus

  • No access, requesting, light
    No access, requesting, dark

    requesting

  • No access, requested, light
    No access, requested, dark

    requested

  • No access, denied, light
    No access, denied, dark

    denied

  • No access, failed, light
    No access, failed, dark

    failed

  • No access, no-owner, light
    No access, no-owner, dark

    no-owner

Props

PropTypeDefaultWhat it does
titlestring"You don't have access to “Harbour works 2027”"Title text.
messagestring | null"This project is shared with its members only. Ask the owner to add you."Why it is locked, one or two lines. Null or left out: no line.
owner{ name: string; email?: string | null; photo?: EmptyStateNoAccessPhoto | null } | null{ name: "Nadia Peeters", email: "nadia@example.com", photo: { src: "/components/people/nadia.webp", alt: "", width: 4…Who owns it. Null or left out: no owner row, and the request goes to the admins.
account{ email: string; switchHref: string } | null{ email: "sam@example.com", switchHref: "/sign-in?switch=1" }The signed-in account and where to switch. Null or left out: no account line.
status"idle" | "requested" | "denied""idle""requested" or "denied" draw those states (e.g. from your server).
back{ label: string; href: string } | null{ label: "Back to your projects", href: "/projects" }Where else to go. Null or left out: no back link.
onRequest() => void | Promise<void>() => new Promise((done) => setTimeout(done, 1200))Called by the request button; reject the promise to show an error.
labelsEmptyStateNoAccessLabels{ owner: "Owner", request: "Request access", requesting: "Sending request…", requested: "Access requested", requested…Labels.
classNamestring–Extra classes on the outer element.

More empty states

All 7
empty-state-06 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans