diff --git a/docs/frontend-design-cookbook.md b/docs/frontend-design-cookbook.md index 5dc1f00..ef98dba 100644 --- a/docs/frontend-design-cookbook.md +++ b/docs/frontend-design-cookbook.md @@ -83,7 +83,28 @@ Use these wrappers before introducing route-specific structure: - `editorial-panel`: primary surface for forms, tables, and ledgers. - `editorial-toolbar`: compact action row under hero copy. - `editorial-backlink`: standard top-left back navigation style. -- `editorial-alert`, `editorial-alert--error`, `editorial-alert--success`: feedback banners. +- `editorial-alert`, `editorial-alert--error`, `editorial-alert--success`, `editorial-alert--warning`, `editorial-alert--info`: feedback banners. + +### Collapsible panels + +For secondary information (debug data, reasoning chains, metadata), use this pattern: + +```svelte +
{reasoningChain}
+ class="text-xs font-mono whitespace-pre-wrap text-muted-foreground leading-relaxed">{reasoningChain}