NotFound
<NotFound> renders the default fallback page for unmatched admin routes.
Installation
pnpm dlx shadcn@latest add @shadmin/not-foundUsage
import { NotFound } from "@/components/admin";
<Admin catchAll={NotFound}>...</Admin>;Before: teams had to infer this component from surrounding CRUD examples.
After: the component has a direct import example and a focused behavior note.
Props
| Prop | Required | Type | Default | Description |
|---|---|---|---|---|
| children | Optional | ReactNode | default message | Custom fallback content. |
Behavior
Use this component inside the matching ra-core context. For example, list helpers belong inside a list, form helpers belong inside a form, and show-layout helpers belong inside a show view.