| trigger | always_on |
|---|
# Frontend Architecture: clipifront (React Native)
- Primary UI Framework: Prioritize Tamagui for core styling and performance-critical components. Leverage the Tamagui compiler to ensure minimal runtime overhead.
- Component Selection: Use Gluestack UI (v2+) for complex, accessible UI patterns (Modals, Selects, Actionsheets) where ARIA compliance and modularity are required.
- Decision Logic: Favor Tamagui for layout and high-frequency components; switch to Gluestack when pre-built complex behavior is needed to save development time. Avoid mixing both in the same atomic component to keep the bundle lean.