#172
404 without actions
The ErrorPage component rendering a 404 status without its action buttons.
Hand this to your AI. It names the exact library parts, timings and accessibility promises of this demo.
Build the "404 without actions" pattern (@codeatlasdev/ui demo #172, layout/error-page) in my app.
Call get_demo({ ids: ["#172"] }) first and keep its structure. It needs @codeatlasdev/[email protected].
Use: Route-level error screens for not found, forbidden or server errors.
Keep these library parts, with the props and tokens the demo uses:
- ErrorPage from "@codeatlasdev/ui"
Behaviour to keep:
- `<ErrorPage status={404} hideActions />`
- Only the `status` prop and `hideActions` are passed, no custom title or actions
Reduced motion: the demo handles it; keep that branch.
Keyboard: not an interactive control.
Change only the copy and the data. Use the theme tokens (--ca-*), never raw colours. Library parts
- ErrorPage
@codeatlasdev/ui
How it is built
- `<ErrorPage status={404} hideActions />`
- Only the `status` prop and `hideActions` are passed, no custom title or actions
Related
Loading source.