gentleface

Gentleface › Actions › filter-x

filter-x icon

Filter x: clear filter, remove filter, clear filters, reset filters. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4.854 8.767C4.757 8.533 4.619 8.326 4.439 8.146L0.5 4.207C0.34 4.047 0.217 3.862 0.13 3.653C0.043 3.444 0 3.226 0 3C0 2.724 0.098 2.488 0.293 2.293C0.488 2.098 0.724 2 1 2L12 2C12.276 2 12.512 2.098 12.707 2.293C12.902 2.488 13 2.724 13 3C13 3.226 12.957 3.444 12.87 3.653C12.783 3.862 12.66 4.047 12.5 4.207L10.64 6.067C10.32 6.117 10.005 6.196 9.696 6.304C9.598 6.206 9.549 6.089 9.549 5.951C9.549 5.812 9.598 5.695 9.696 5.597L11.793 3.5C11.931 3.362 12 3.195 12 3L1 3C1 3.195 1.069 3.362 1.207 3.5L5.146 7.439C5.42 7.713 5.63 8.028 5.778 8.385C5.926 8.742 6 9.114 6 9.5L6 12.5C6 12.654 6.058 12.781 6.175 12.88C6.223 13.062 6.279 13.242 6.346 13.42C6.327 13.48 6.295 13.536 6.251 13.59C6.163 13.697 6.051 13.757 5.913 13.77C5.776 13.783 5.654 13.746 5.547 13.659C5.374 13.516 5.239 13.343 5.144 13.141C5.048 12.938 5 12.724 5 12.5L5 9.5C5 9.246 4.951 9.002 4.854 8.767ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z"/></svg>
React
// Gentleface "filter-x" (line-round), MIT. https://gentleface.com/icons/filter-x
import type { SVGProps } from 'react';

export function FilterXIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M4.854 8.767C4.757 8.533 4.619 8.326 4.439 8.146L0.5 4.207C0.34 4.047 0.217 3.862 0.13 3.653C0.043 3.444 0 3.226 0 3C0 2.724 0.098 2.488 0.293 2.293C0.488 2.098 0.724 2 1 2L12 2C12.276 2 12.512 2.098 12.707 2.293C12.902 2.488 13 2.724 13 3C13 3.226 12.957 3.444 12.87 3.653C12.783 3.862 12.66 4.047 12.5 4.207L10.64 6.067C10.32 6.117 10.005 6.196 9.696 6.304C9.598 6.206 9.549 6.089 9.549 5.951C9.549 5.812 9.598 5.695 9.696 5.597L11.793 3.5C11.931 3.362 12 3.195 12 3L1 3C1 3.195 1.069 3.362 1.207 3.5L5.146 7.439C5.42 7.713 5.63 8.028 5.778 8.385C5.926 8.742 6 9.114 6 9.5L6 12.5C6 12.654 6.058 12.781 6.175 12.88C6.223 13.062 6.279 13.242 6.346 13.42C6.327 13.48 6.295 13.536 6.251 13.59C6.163 13.697 6.051 13.757 5.913 13.77C5.776 13.783 5.654 13.746 5.547 13.659C5.374 13.516 5.239 13.343 5.144 13.141C5.048 12.938 5 12.724 5 12.5L5 9.5C5 9.246 4.951 9.002 4.854 8.767ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/filter-x.md
Svelte
Svelte: see /icons/filter-x.md
HTML img
HTML img: see /icons/filter-x.md
CSS
CSS: see /icons/filter-x.md
Data URL
Data URL: see /icons/filter-x.md
Sprite
Sprite: see /icons/filter-x.md
SwiftUI
SwiftUI: see /icons/filter-x.md
Compose
Compose: see /icons/filter-x.md
Android XML
Android XML: see /icons/filter-x.md
Flutter
Flutter: see /icons/filter-x.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { FilterXIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
clear filter, remove filter, clear filters, reset filters, filter off
Example
Clear all filters
Alternatives
  • x: remove one filter chip inside a filter bar
Built from
filter + x
Tags
filter, funnel, refine, narrow, x
Category
Actions
Component name
FilterXIcon
History
  • added
  • released in 0.1.0
  • changed in 0.7.0
Since
version 0.1.0

Family 15

More actions icons

For agents

Metadata: /icons/filter-x.json · Markdown: /icons/filter-x.md · SVG: https://gentleface.com/svg/{style}/16/filter-x.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/filter-x.png