Skip to main content
Designkufu

smarthr-ui-forbidden-error-screen

ForbiddenErrorScreenは、アクセス権限がないことを表示する全画面コンポーネントです。403相当の権限エラーを伝えるときに使います。

Stars
30
Source
kufu/smarthr-design-system
Updated
2026-05-29
Slug
kufu--smarthr-design-system--smarthr-ui-forbidden-error-screen
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/kufu/smarthr-design-system/HEAD/plugins/smarthr-design-system/skills/smarthr-ui-forbidden-error-screen/SKILL.md -o .claude/skills/smarthr-ui-forbidden-error-screen.md

Drops the SKILL.md into .claude/skills/smarthr-ui-forbidden-error-screen.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

アクセス権限がないことを表示する全画面コンポーネントです。403相当の権限エラーを伝えるときに使います。

ユーザーがページにアクセスする権限をもっていない場合、所属企業の担当者(管理者)へ問い合わせるという対応策と、アプリケーションのホームへ戻るリンクを表示します。

import

import { ForbiddenErrorScreen } from 'smarthr-ui'

Props

Props 名 デフォルト値 必須 説明
homeUrl string - -

実装ルール

ForbiddenErrorScreen に直接関連する eslint-plugin-smarthr のルールは現時点ではありません。

使い方チェックリスト

使い方チェックリスト(Layer 3)は設定されていません。