A page your role can't open, designed rather than blank.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/no-accesspnpm dlx shadcn@latest add @notchset-pro/no-accessNeeds your registry key. Every components.json style gets the same files.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { NoAccess } from "@/components/ui/notchset/blocks/no-access";
export default function NoAccessDemo() {
const [asked, setAsked] = React.useState(false);
return (
<div className="w-full max-w-[560px]">
<NoAccess what="Reports" role="Rep" admins={["Maya", "Jonas"]} onRequest={() => setAsked(true)} requested={asked} back={{ label: "Go to Home", onClick: () => setAsked(false) }} className="py-10" />
</div>
);
}components/ui/notchset/blocks/no-access.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
what–
stringWhat can't be opened, as its name: "Reports", "Plan and billing", "Acme’s deal".
role–
stringYour role, as the workspace names it ("Rep", "Guest").
admins[]
string[]Who can give access, by first name; the first is the one asked.
onRequest–
() => voidAsk for access. Leave it out when nobody can be asked (the line then says who decides).
requested–
booleanThe request was sent: the button says so and can't be pressed twice.
back–
{ label: string; onClick: () => void }The way out, always there.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.
Pro is in early access.