[material-next][Search] Add new `Search` component
@DiegoAndai is already working on this.
Since Nov 17, 2023.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
This issue is to track the work for adding the new Search component to @mui/material-next, moving forward the Material You effort (https://github.com/mui/material-ui/issues/29345)
Material You Search specification: https://m3.material.io/components/search/overview
Ideas:
- Create one component with a
variantprop, which can be'searchbar'or'searchview' - Create two components:
SearchBar, which is renderingSearchViewon focusSearchView
I think the second option is the better one, as this way the SearchView can also be used without the SearchBar and the logic of the SearchBar is not implemented unnecessarily.
However, I would like to collect further suggestions or approvals and then start with the implementation.
If my suggestion is accepted, I would first implement the SearchView and then the SearchBar.
Note: This comment will be updated to show the progress, ideas and list possible issues.
@DiegoAndai
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.