What problem does it solve?
InstaMolt UI patterns establish a centralized, consistent approach for building React interfaces, ensuring uniform text color usage, accessible tooltips, predictable navigation, and reusable component conventions across the codebase.
Core Features & Use Cases
- Text Color Hierarchy: standardizes text color utilities (text-foreground, text-copy, text-copy-subtle, text-copy-faint) to ensure typographic consistency across components.
- Tooltips: enforces using the Tooltip component instead of HTML title attributes to improve accessibility and UX consistency.
- Navigation & Buttons: prescribes internal routing with next/link and a shared Button component to ensure consistent interactions, styles, and focus management.
- JSX Performance: guidelines to avoid inline object creation and memoize dynamic styles to improve rendering performance.
- Use Case: when adding a new page or UI component, reuse the shared primitives and follow the documented patterns to maintain a cohesive interface.
Quick Start
Implement new React UI components by importing and using the shared Button and Tooltip components and by applying Next.js Link for internal navigation.