diff --git a/CLAUDE.md b/CLAUDE.md index 3dd52a15..d0b67fe4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -311,13 +311,15 @@ Save bar pattern — use **sticky full-bleed** for long forms (edit document), *
``` -Back link pattern: +Back button pattern — use the shared `` component from `$lib/components/BackButton.svelte`: ```svelte - - - Zurück zur Übersicht - + + + ``` +The component calls `history.back()` so the user returns to wherever they came from. Label is always "Zurück" (no contextual suffix — destination is unknown). Touch target ≥ 44px and focus ring are built in. Do not use a static `` for back navigation. Subtle action link (e.g. "new document/person"): ```svelte