Can you tell me some useful tip when to choose one of those 3 types of filters positioning:
Positioning
In terms of the positioning of your filters component, where it should be placed on the page, you basically have three options. It can either be as a left-hand vertical sidebar, directly inline with the content at hand, or as a horizontal filter bar. The decision depends on your context and scalability needs.
Sidebar
Level of context: 🔴 Low (Global: affects the whole page)
Scalability: 🟢 High
Filter UI layout with left hand sidebar
The left-hand sidebar is more scalable in terms of real estate, you can nest a greater number of values inside expandable sections that can scale vertically.
But this pattern affords that the filters affect the page as a whole. You need to make sure that every element on that page is effectively affected by the filtering options, otherwise, it risks creating confusion.
Inline
Level of context: 🟢 High (contextualized at the component-level)
Scalability: 🔴 Low
Dashboard UI with filter icon on each card
Filters can totally live at the component-level. Let’s say you have a dashboard made up of various charts, graphs and tables with discrepant data structures, you can’t have global filtering. The filtering component needs to be in-context. (p.s. we also have a UX pattern article on data dashboards).
You can also decide to keep some global filters at the page-level, but also provide smaller-scale filter mechanisms directly throughout the page. The downside here is that you can quickly run out of space. You need to stick to the essential.
Filter bar
Level of context: 🟡 Hybrid (can affect the whole page, or can affect one section at a time)
Scalability: 🟡 Medium
Filter UI with filter bar at the top of the screen
A filter bar can be placed above specific parts of the page, making it clear that only those items will reflect the filter input. This is a good option for pages made up of sections showcasing different data structures where global filtering could not work.
The horizontal bar option is a bit less scalable since it’s limited to the page width. That means the user needs to navigate across dropdown menus.
Assistant
When choosing the positioning of filter components on a page, consider the context and scalability needs of your design. Here’s a quick guide based on the three options:
Sidebar (Left-Hand Vertical Sidebar):
Context: Low (Affects the whole page)
Scalability: High
Use When:
You have a large number of filter options that can be nested and expanded.
The filters apply to the entire page uniformly, making it clear that selections will affect all content.
You need a scalable solution that accommodates additional filter options in the future without clutter.
Inline (Within Content or at the Component-Level):
Context: High (Contextualized at the component level)
Scalability: Low
Use When:
Different components or sections of the page need distinct filter settings.
You have limited space and need to incorporate filtering options directly where they are most relevant.
Applications like dashboards, where specific widgets or components require individualized filtering options.
Filter Bar (Horizontal Filter Bar):
Context: Hybrid (Can affect the whole page or one section at a time)
Scalability: Medium
Use When:
There are sections of a page, each requiring specific filter options.
You want to apply filters to particular areas, making it clear that only those will be affected.
Horizontal real estate is available, and dropdowns or condensing filter options into menus is feasible.
Consider the user experience and the structure of the data when deciding on the best filter placement. Ensure clarity in how filters affect content, and maintain usability across different devices and screen sizes. Choose the positioning that provides the best balance between context and scalability for your specific application.
User
Just give me in a paragrph a usefult tip when to use one of these three
Assistant
For a user-friendly design, choose a sidebar filter when you need to manage a large number of filter options that apply to the entire page and can expand vertically without cluttering the interface. Opt for an inline filter if you need component-specific filtering in a dashboard or complex layout, keeping filters directly within the relevant context but be mindful of space constraints. Use a horizontal filter bar when you want filters to impact specific sections of a page, balancing between affecting entire sections or individual components, keeping in mind it’s less scalable due to horizontal space limits.
User
Is there another useful tip about positioning filters that you know?
Assistant
Absolutely! When considering the positioning of filters, also think about the user's journey and typical behavior. If your users frequently navigate using mobile devices, prioritize accessibility and touch-friendliness. Design filters that are easily reachable and operable with a thumb, typically placing them at the top or bottom of the screen for easy access. Additionally, ensure that filters are sticky or easily accessible as users scroll, so they can adjust their selections without having to navigate back to the top of the page, enhancing usability and improving the overall user experience.
User
And another one?
Assistant
Another useful tip is to maintain visual consistency and clarity when implementing filters. Use clear labeling and intuitive icons to indicate filter functions, helping users quickly understand the available options and how they interact with the content. Consistency in design—such as using the same style, color scheme, and spacing—across the filters enhances familiarity and reduces cognitive load. Additionally, consider providing instant feedback or live updates as filters are selected, so users immediately see the impact of their choices, reinforcing the functionality and effectiveness of your filtering system.
User
And a short tip about these kinds:
Additive lozenges
When you need your filters to be additive (remember relatives? That’s when we ask the system to add a variable on top of another and to exclude anything that doesn’t match the combined filter), lozenges or pills are a great way to convey that meaning.
Typically, those variables are pre-existing so users can select them from one or many dropdown menus and they should be easy to remove.
Assistant
When implementing additive lozenges or pill filters, ensure they are clearly labeled, easily removable, and visually distinctive, so users can effortlessly understand and manage the combination of active filters, enhancing control and clarity in data refining.
User
When should they be used?
Assistant
Additive lozenges or pill filters should be used when you want to allow users to combine multiple filter criteria dynamically, with each criterion clearly visible and manageable. They are particularly useful in situations where users need to execute complex searches, such as in e-commerce sites, data dashboards, or advanced search interfaces, where the combination of multiple filters is necessary to refine results effectively. This approach not only enhances usability by making active filters easily identifiable and removable but also provides a straightforward way to manage sophisticated filtering needs.