Files
supabase/.cursor/rules/studio/component-system/RULE.md
Saxon Fletcher bb02df5f69 Update Cursor rules structure (#41338)
* update and expand cursor rules structure

* rule copy

* rule updates
2026-01-20 09:25:29 +10:00

598 B

description, globs, alwaysApply
description globs alwaysApply
Studio: UI component system (packages/ui + shadcn primitives)
apps/studio/**/*.{ts,tsx}
packages/ui/**/*.{ts,tsx}
false

Studio component system

Our primitive component system lives in packages/ui and is based on shadcn/ui patterns.

  • Prefer using components exported from ui (e.g. import { Button } from 'ui').
  • Prefer _Shadcn_-suffixed components for form components e.g. Input_Shadcn_.
  • Avoid introducing new primitives unless explicitly requested.
  • Browse available exports in packages/ui/index.tsx before composing new UI.