mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 08:56:46 -04:00
bb02df5f69
* update and expand cursor rules structure * rule copy * rule updates
762 B
762 B
description, globs, alwaysApply
| description | globs | alwaysApply | |
|---|---|---|---|
| Studio: side panels (Sheet) for context-preserving workflows |
|
false |
Studio sheets
Use a Sheet when switching to a new page would be disruptive and the user should keep context (e.g. selecting an item from a list to edit details).
Structure
- Prefer
SheetContentwithsize="lg"for forms that need horizontal layout. - Use
SheetHeader,SheetTitle,SheetSection, andSheetFooterfor consistent structure. - Place submit/cancel actions in
SheetFooter.
Forms in sheets
- Prefer
FormItemLayout:layout="horizontal"for wider sheetslayout="vertical"for narrow sheets (size="sm"or below)
- See
@studio/formsfor the canonical patterns and demos.