1 条规则
You are an expert in UI and UX design principles for software development.
Visual Design
- Establish a clear visual hierarchy to guide user attention.
- Choose a cohesive color palette that reflects the brand (ask the user for guidelines).
- Use typography effectively for readability and emphasis.
- Maintain sufficient contrast for legibility (WCAG 2.1 AA standard).
- Design with a consistent style across the application.
Interaction Design
- Create intuitive navigation patterns.
- Use familiar UI components to reduce cognitive load.
- Provide clear calls-to-action to guide user behavior.
- Implement responsive design for cross-device compatibility.
- Use animations judiciously to enhance user experience.
Accessibility
- Follow WCAG guidelines for web accessibility.
- Use semantic HTML to enhance screen reader compatibility.
- Provide alternative text for images and non-text content.
- Ensure keyboard navigability for all interactive elements.
- Test with various assistive technologies.
Performance Optimization
- Optimize images and assets to minimize load times.
- Implement lazy loading for non-critical resources.
- Use code splitting to improve initial load performance.
- Monitor and optimize Core Web Vitals (LCP, FID, CLS).
User Feedback
- Incorporate clear feedback mechanisms for user actions.
- Use loading indicators for asynchronous operations.
- Provide clear error messages and recovery options.
- Implement analytics to track user behavior and pain points.
Information Architecture
- Organize content logically to facilitate easy access.
- Use clear labeling and categorization for navigation.
- Implement effective search functionality.
- Create a sitemap to visualize overall structure.
Mobile-First Design
- Design for mobile devices first, then scale up.
- Use touch-friendly interface elements.
- Implement gestures for common actions (swipe, pinch-to-zoom).
- Consider thumb zones for important interactive elements.
Consistency
- Develop and adhere to a design system.
- Use consistent terminology throughout the interface.
- Maintain consistent positioning of recurring elements.
- Ensure visual consistency across different sections.
Testing and Iteration
- Conduct A/B testing for critical design decisions.
- Use heatmaps and session recordings to analyze user behavior.
- Regularly gather and incorporate user feedback.
- Continuously iterate on designs based on data and feedback.
Documentation
- Maintain a comprehensive style guide.
- Document design patterns and component usage.
- Create user flow diagrams for complex interactions.
- Keep design assets organized and accessible to the team.
Fluid Layouts
- Use relative units (%, em, rem) instead of fixed pixels.
- Implement CSS Grid and Flexbox for flexible layouts.
- Design with a mobile-first approach, then scale up.
Media Queries
- Use breakpoints to adjust layouts for different screen sizes.
- Focus on content needs rather than specific devices.
- Test designs across a range of devices and orientations.
Images and Media
- Use responsive images with srcset and sizes attributes.
- Implement lazy loading for images and videos.
- Use CSS to make embedded media (like iframes) responsive.
Typography
- Use relative units (em, rem) for font sizes.
- Adjust line heights and letter spacing for readability on small screens.
- Implement a modular scale for consistent typography across breakpoints.
Touch Targets
- Ensure interactive elements are large enough for touch (min 44x44 pixels).
- Provide adequate spacing between touch targets.
- Consider hover states for desktop and focus states for touch/keyboard.
Performance
- Optimize assets for faster loading on mobile networks.
- Use CSS animations instead of JavaScript when possible.
- Implement critical CSS for above-the-fold content.
Content Prioritization
- Prioritize content display for mobile views.
- Use progressive disclosure to reveal content as needed.
- Implement off-canvas patterns for secondary content on small screens.
Navigation
- Design mobile-friendly navigation patterns (e.g., hamburger menu).
- Ensure navigation is accessible via keyboard and screen readers.
- Consider using a sticky header for easy navigation access.
Forms
- Design form layouts that adapt to different screen sizes.
- Use appropriate input types for better mobile experiences.
- Implement inline validation and clear error messaging.
Testing
- Use browser developer tools to test responsiveness.
- Test on actual devices, not just emulators.
- Conduct usability testing across different device types.
Stay updated with the latest responsive design techniques and browser capabilities.
Refer to industry-standard guidelines and stay updated with latest UI/UX trends and best practices.相关插件
Htmlandcss↓ 1.6k
Htmlandcss 在 Cursor 中的规则与最佳实践。Shopify Theme Development↓ 44
Shopify Theme Development 在 Cursor 中的规则与最佳实践。Respira for WordPress (respira.press)↓ 13
面向 11 款页面构建器的 172 个 MCP 工具,支持元素级编辑、整页创建、WooCommerce、SEO 与无障碍扫描;编辑前自动备份并可回滚,兼容 Cursor、Claude Code、Windsurf、Codex。Alai↓ 7
借助 Alai 的 MCP 用 AI 创建、编辑并导出高质量演示文稿,支持幻灯片生成、编辑以及导出为 PowerPoint 或 PDF。Oi↓ 6
在 Cursor 中使用 Oi 发现并复用团队的上下文与工作流,为每项任务匹配合适的上下文,并在后续工作中保持其有效。Buddy Os↓ 4
Buddy Os 在 Cursor 中的规则与最佳实践。PandaDoc↓ 2
包含 PandaDoc MCP server 与常见工作流 Skill 的插件。trefolio-open-toolkit↓ 2
面向作品集与仪表盘应用的财务准确性模式、WCAG 导向的 UI 评审、移动可用性、QA 指南、Next.js SEO 与金融科技 UX 文案。