How to change the layout of the widget (for example search)?

Good afternoon. I can not find a solution.
Tell me how I can change the standard search widget in Wordpress?
With this


The markup is available, but not sure how to change it.
April 3rd 20 at 18:44
1 answer
April 3rd 20 at 18:46
add_filter( 'get_search_form', 'my_search_form' ); 
my_search_form function( $form ) {

 $form = '
 <form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" >
 <label class="screen-reader-text" for="s">search:</label>
 <input type="text" value="' . get_search_query() . '" name="s" id="s" />
 <input type="submit" id="searchsubmit" value="Find" />

 return $form;

Find more questions by tags WordPress