BridgeBeta
  • Brand
  • Digital Assets
    Foundations
    Icons
    Components
    Templates
  • Resources
    Design Tokens
    How-tos
    Best Practices
    Libraries
    Accessibility
    Products List
  • Support
    • Overview
    • Actions
      • Overview
      • Button
      • ContextMenu
      • Link
    • Controls
      • Overview
      • Checkbox
      • Tag
      • Toggle
    • Forms
      • Overview
      • DatePicker
      • FileUploader
      • Input
      • NumberInput
      • RadioButton
      • Search
      • Select
      • Slider
      • TextArea
      • TextInput
    • Hooks
      • useIsomorphicLayoutEffect
      • useMediaQuery
      • useSettings
    • Navigation
      • Overview
      • AnchorNavigation
      • BannerNavigation
      • Breadcrumb
      • Footer
      • InfoBar
      • MainNavigation
      • SecondaryNavigation
      • StepNavigation
      • SubNavigation
    • Overlay
      • Overview
      • Credits
      • Modal
      • ModalWrapper
      • Notification
      • Tooltip
    • Structure
      • Overview
      • Accordion
      • AuthLayout
      • Avatar
      • Callout
      • Card
      • ContentSwitcher
      • Empty
      • Hero
      • InlineLoading
      • Item
      • List
      • Loading
      • mdxComponents
      • Module
      • Pagination
      • ReadMore
      • Story
      • Table
      • Tabs
      • Text
      • Unit
      • User
      • WFPCoreProvider
      • Wrapper
Components
Forms

Search

  • Design
  • Code
  • Props

The Search component provides a user interface element for searching within a designated scope, typically used to retrieve specific information or content.

Search component provides a user interface element for searching within a designated scope, typically used to retrieve specific information or content.

Examples

Search input can have different shapes.

Figma image

Rounded Search is suggested to be used in a specific context when the input field stands alone or in a complex context, in order to stand out from the background.

Figma image

Anatomy

Figma image

When to use

  • Information Retrieval: Utilize the Search component when users need to find specific information within a defined dataset or content repository.
  • Navigation Enhancement: Implement Search to facilitate navigation, especially in large datasets or complex systems.
  • Content Filtering: Use Search to enable users to filter content based on specific criteria, improving the overall user experience.

When not to use

  • Limited Content: Avoid using Search for small or static content sets where a manual navigation approach might be more efficient.
  • Simple Interfaces: In straightforward applications, where the complexity of a search feature is unnecessary, consider simpler alternatives.

Alternative Components:

  • Dropdown Menus: For a predefined set of options.
  • Filter Panes: When users need to apply multiple filters simultaneously.
  • Clickable Tags: In scenarios where users can quickly select from a set of predefined options.

Accessibility

  • Keyboard Navigation: Ensure the Search component can be navigated and activated using keyboard controls for users who rely on them.
  • Screen Reader Compatibility: Provide descriptive labels and ensure screen readers can interpret and communicate the purpose and results of the search.
  • Contrast and Readability: Maintain sufficient colour contrast and text readability for users with visual impairments.
  • Focus States: Clearly indicate the focus state of the Search component to assist users navigating through the interface.
  • Aria Roles: Implement ARIA roles appropriately to enhance the understanding of the Search component for assistive technologies.

On this page

  • Examples
  • Anatomy
  • Alternative Components:
  • Accessibility

References

  • Storybook
Storybook
Figma library
Contact us
2025 © World Food Programme