build69
build69  /  Components  /  Site  /  Forbidden403

Forbidden403

v1.0.18Updated 19 Oct 2026

403 forbidden / access-denied page for unauthorised requests. Full-page copy-paste template; baked-in demo content (edit the JSX to customise).

Preview

Live · 14 stories
CenteredOpen ↗
▸Why this is recommended403forbiddenaccess-deniederror+3

Forbidden403 centred on the page.

Recommended for+14
  • ✓Error / status pages
  • ✓Authorisation walls
Tags+6
403forbiddenaccess-deniederrorstatuspagecentered
Features+4
  • Centered and split layouts
  • Access-denied message + sign-in / home CTA
  • Self-contained — no required props
  • i18n: a labels prop overrides every built-in string; English defaults, brand-free copy
Not recommended for−2
  • ✕Inline permission hints

Install

Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.

get_registry_item({ name: "Forbidden403" })

Usage

import { ForbiddenCentered } from '@/components/pages/error-403';

<ForbiddenCentered />

Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.

Props

PropTypeRequired
className

Optional wrapper class override

string—
labels

Override every built-in string and aria-label (i18n). Merged over DEFAULT_ERROR_403_LABELS (44 English keys). Every template in the file accepts it. NOTE: the rendered DEFAULTS are now English — they used to be hardcoded Thai, which no consumer could translate or ship; a Thai product passes its own labels. MCP feedback fb_ba2ec12f.

Partial<Error403Labels>—

Related