Skip to main content
Solved

Search bar variants best practice?

  • March 7, 2021
  • 1 reply
  • 863 views

Jonas1
  • New Participant
  • 7 replies

What is your approach to creating a search bar as a component?

– Do you use one separate component for the search bar it self that contains all the needed states and one component for the autocomplete layer or do you combine the search bar and the autocomplete layer as one complex variant?

Best answer by Gleb

I would combine them because autocomplete component is not a thing on itself, it can’t be used separately from the search bar component.

View original

1 reply

Gleb
  • Power Member
  • 4706 replies
  • Answer
  • March 8, 2021

I would combine them because autocomplete component is not a thing on itself, it can’t be used separately from the search bar component.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings