To add a search form to your Drupal 8 site, follow these steps:
1. In the Drupal 8 admin menu, navigate to Structure > Block layout.
2. Click the “Place block” button in the region where you want to place the search form.
3. In the list of available blocks, locate the “Search form” block and click the “Place block” button next to it.
4. Configure any settings for the block as desired (such as changing the block title or visibility settings).
5. Click the “Save block” button to save your changes.
6. Visit your website and confirm that the search form is visible in the region where you placed it.
Note: If you don’t see the “Search form” block listed, you may need to enable the “Search” module in the Extend menu.