Skip to content

Design card and list view toggle and filter for Patterns and Practices pages #2534

@isaacdurazo

Description

@isaacdurazo

Text-based Mockups

These mockups display a search box and a toggle button for cards and list view. The container with the search box and the toggle button is located between the "Read This First" disclaimer and the Patterns and uses a light blue color as the background, the same one we use for the main Nav. The search functions as an in-page filter-as-you-type mechanism. It contains a light gray magnifier icon and the placeholder text "Search Patterns" next to it. Next to the search box, there's a toggle for card vs list view. This toggle uses icons that represent both views.

When the user changes the view to a list, the patterns are all put inside a white container and each one displays its icon (which is half the size smaller) on the left and its title and description on the right. Each one is divided by a subtle gray horizontal line.

Visual Mockups

Card View

APG Patterns Search - Grid View

List View

APG Patterns Search - List View

Metadata

Metadata

Assignees

No one assigned

    Labels

    Site DesignRelated to design of the APG site on w3.org built during 2021 redesign projectenhancementAny addition or improvement that doesn't fix a code bug or prose inaccuracy

    Type

    No type

    Projects

    Status

    In production / Completed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions