mui / mui/material-ui

[material-next][Search] Add new `Search` component

Open
#39,897 7 comments 0 reactions 1 assignee View on GitHub

@DiegoAndai is already working on this.

Since Nov 17, 2023.

design: material you on hold scope: all components type: new feature
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 variant prop, which can be 'searchbar' or 'searchview'
  • Create two components:
    • SearchBar, which is rendering SearchView on focus
    • SearchView

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.