Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Search API block

1,276 sites Security covered
View on drupal.org

The Search API Block module adds a block to your Drupal site that displays a search input field. This is useful for integrating search functionality from the Search API module into any region of your website.

The Search API Block module provides a simple block in order to show a search input anywhere in your website.

The search module from core provides a similar block but since Search API is not compatible with the search module from core, this module adds this block for Search API.

Configuration:
1. - Add the Seach API Block
2. Configure the "Action URL", it will be the path of your search view page.
3. Configure the "Input name", it will be the name of your exposed search field. By default, it will use "keys".

Features:
- You can use token replacement when configuring the block

Additional modules:
- Better search block: This module allows you to style your search input very easily with animation. (Compatibility in the work: Issue #3236805: Search API compatibility)

Similar modules:
Views exposed filter blocks: Provides a block type which renders views display exposed filters separately from the view. If you are looking for something more complex than just a search input, definitely go with this one.

Activity

Total releases
2
First release
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.2.0 Stable May 22, 2025
1.1.7 Stable May 22, 2025