The Google Search Widget adds a Google search field to your sidebar.
Your privacy needs to be set to ‘Allow search engines to index this site’ in Settings > Reading for it to be able to search content on your site.
Here’s what it looks like when it’s added to a sidebar:

Settings
Once you add the widget to your sidebar in Appearance > Widgets, you’ll see the widget settings look like this:

- Title: Allows you to add your own custom title.
- Button Text: Used to change the text on the Search button.