Skip to content

Search Component Upgrade #413

@joshuajames-smith

Description

@joshuajames-smith

Problem

The UI for the search component in CURATE requires updated styling for design system consistency and to also improve the UX.

Solution

The updated search component should use an outlined select field and outlined text field (outline: 1px #C4C4C4 > border-radius: 8px). The select field should use a custom arrow icon pointing down. The text field should use the search icon inside the container. Gap between the fields and edges of box of ~9px.

CURATE – component  search  – 1

The hover state for the select field outline should change colour to indicate user interaction (outline: #02FFAD).

CURATE – component  search  – 2

When the select field is clicked by a user, the outline should change colour to indicate user interaction (outline: #000000) with the custom arrow icon pointing up. The placeholder text should be #A1A1A1 but the selected value text should be #000000.

The dropdown menu is the same width as the select field. The row hover state should be #E5E5E5always. The selected value should be marked with a tick icon to the left.

CURATE – component  search  – 3

Once a user clicks off, the select field returns to original state with select field value remaining.

CURATE – component  search  – 4

The hover state for the text field outline should change colour to indicate user interaction (outline: #02FFAD).

CURATE – component  search  – 5

When the text field is clicked by a user, the outline should change colour to indicate user interaction (outline: #000000) with. The text should be #000000.

CURATE – component  search  – 6

CURATE – component  search  – 7

Once a user clicks the search icon (which works like all other icons - circle hover state with colour #02FFAD), the filter value should be placed into an outlined chip component (outline: 1px #000000` > border-radius: 6px > padding: 6px 10px 7px 10px) with a cross allowing users to get remove. A gap between chip and search component of ~16px.

CURATE – component  search  – 8

Adobe XD: https://xd.adobe.com/view/7c2b47fe-97f4-4050-8ab2-bd2a1cb9949f-2978/

Considered Alternatives

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement[Improvement] Enhancement request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions