<SearchBarplaceholder="Go to jd.com and buy good things"/>
</>
}
exportdefaultApp;
```
:::
### Search box shape and maximum length
`SearchBar`'s `round` Attribute supports defining fillet right angles,`maxLength` Can control the maximum length of input characters。
:::demo
```tsx
importReactfrom"react";
import{SearchBar}from'@nutui/nutui-react';
constApp=()=>{
return<>
<SearchBarshape="round"maxLength={5}/>
</>
}
exportdefaultApp;
```
:::
### Background settings inside and outside the search box
`SearchBar`'s `background` Property to set the background color outside the search box,`inputBackground` Property to set the background color of the search box,`align` Set text alignment