# frontend-skill > Build frontend pages, reusable components, layouts, and styling with secure authentication flows. Use for modern web applications. - Author: Hina-Aamir - Repository: Hina-Aamir/HACKATHOUN2_TODOAPP - Version: 20260208204837 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-08 - Source: https://github.com/Hina-Aamir/HACKATHOUN2_TODOAPP - Web: https://mule.run/skillshub/@@Hina-Aamir/HACKATHOUN2_TODOAPP~frontend-skill:20260208204837 --- --- name: frontend-skill description: Build frontend pages, reusable components, layouts, and styling with secure authentication flows. Use for modern web applications. --- # Frontend Skill – Pages, Components & Auth ## Instructions 1. **Hero Section** - Create responsive hero sections - Use clean layout and typography - Include headline, subtext, and CTA - Optimize for mobile-first design 2. **Page & Component Structure** - Build reusable UI components - Separate layout and logic - Use semantic HTML - Follow component-based architecture 3. **Styling & Layout** - Use Flexbox and Grid - Maintain consistent spacing and colors - Apply modern CSS or Tailwind - Support dark/light themes 4. **User Signup UI** - Design signup forms - Validate email and password inputs - Show inline validation errors - Prevent duplicate submissions 5. **User Signin UI** - Build secure login forms - Handle invalid credentials gracefully - Display loading and error states - Redirect after successful login 6. **Authentication Integration** - Connect frontend with backend auth APIs - Handle JWT tokens securely - Store tokens safely (httpOnly cookies or memory) - Protect authenticated pages 7. **Better Auth Integration** - Integrate Better Auth provider - Manage sessions and tokens - Support scalable auth flows - Sync frontend state with backend auth ## Best Practices - Keep UI clean and accessible - Use reusable components - Never expose secrets in frontend - Handle auth errors gracefully - Follow responsive and mobile-first design - Ensure smooth UX for login/signup flows ## Example Structure ```html

Build Modern Frontend Experiences

Pages, components, layouts, and secure auth