Skip to content

Search Menu (Header Right-Side) #14

@Alexandrbig1

Description

@Alexandrbig1

Description:
Implement the search menu accessible via the search icon in the header.

Requirements:

  • Place search icon in header (right side, next to user + cart icons)
  • On click → slide-in panel from the right (40% of viewport width)
  • Panel behavior:
    • Close on clicking ❌ (top-right) or outside overlay
  • Inside panel:
    • Input field for searching products
    • Start fetching products after 3+ characters typed
    • Show matching results below input
    • Hover state on results: change background + scale image slightly
  • Style with TailwindCSS
  • Responsive design

Acceptance Criteria:

  • Search panel opens/closes correctly
  • Fetch works with mock data / backend API (to be connected later)
  • Hover effect works smoothly
  • Mobile-friendly

Assets:

Image

Image

⚠️ This feature depends on backend API endpoints (products) as https://corexshoptest.onrender.com/api/products

Metadata

Metadata

Labels

frontendTasks related to the frontend (React, Vite, TailwindCSS, UI components, pages)hacktoberfestSpecial issue for Hacktoberfesthacktoberfest-2025Special issue for Hacktoberfest 2025priority: highNeeds attention ASAP

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions