Gentleface › Text & formatting › list-collapse
list-collapse icon
list-collapseList collapse: collapse list. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated list-collapse-fold · line-round
Both chevrons turn down and a child row slides out from under each heading. The children then fold back up under their headings and the chevrons turn back to point right.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.25 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.854 3.146C3.953 3.246 4.003 3.364 4.003 3.5C4.003 3.636 3.953 3.754 3.854 3.854L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L2.793 3.5L1.146 1.854C1.047 1.754 0.997 1.636 0.997 1.5C0.997 1.364 1.047 1.246 1.146 1.146C1.246 1.047 1.364 0.997 1.5 0.997C1.636 0.997 1.754 1.047 1.854 1.146L3.854 3.146ZM13.856 3.144C13.952 3.241 14 3.359 14 3.5C14 3.641 13.952 3.759 13.856 3.856C13.759 3.952 13.641 4 13.5 4L6.5 4C6.359 4 6.241 3.952 6.144 3.856C6.048 3.759 6 3.641 6 3.5C6 3.359 6.048 3.241 6.144 3.144C6.241 3.048 6.359 3 6.5 3L13.5 3C13.641 3 13.759 3.048 13.856 3.144ZM13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144ZM1.5 14C1.362 14 1.244 13.951 1.146 13.854C1.047 13.754 0.997 13.636 0.997 13.5C0.997 13.364 1.047 13.246 1.146 13.146L2.793 11.5L1.146 9.854C1.047 9.754 0.997 9.636 0.997 9.5C0.997 9.364 1.047 9.246 1.146 9.146C1.244 9.049 1.362 9 1.5 9C1.638 9 1.756 9.049 1.854 9.146L3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L1.854 13.854C1.756 13.951 1.638 14 1.5 14ZM6.144 11.856C6.048 11.759 6 11.641 6 11.5C6 11.359 6.048 11.241 6.144 11.144C6.241 11.048 6.359 11 6.5 11L13.5 11C13.641 11 13.759 11.048 13.856 11.144C13.952 11.241 14 11.359 14 11.5C14 11.641 13.952 11.759 13.856 11.856C13.759 11.952 13.641 12 13.5 12L6.5 12C6.359 12 6.241 11.952 6.144 11.856Z"/></svg>
// Gentleface "list-collapse" (line-round), MIT. https://gentleface.com/icons/list-collapse
import type { SVGProps } from 'react';
export function ListCollapseIcon(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="M3.854 3.146C3.953 3.246 4.003 3.364 4.003 3.5C4.003 3.636 3.953 3.754 3.854 3.854L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L2.793 3.5L1.146 1.854C1.047 1.754 0.997 1.636 0.997 1.5C0.997 1.364 1.047 1.246 1.146 1.146C1.246 1.047 1.364 0.997 1.5 0.997C1.636 0.997 1.754 1.047 1.854 1.146L3.854 3.146ZM13.856 3.144C13.952 3.241 14 3.359 14 3.5C14 3.641 13.952 3.759 13.856 3.856C13.759 3.952 13.641 4 13.5 4L6.5 4C6.359 4 6.241 3.952 6.144 3.856C6.048 3.759 6 3.641 6 3.5C6 3.359 6.048 3.241 6.144 3.144C6.241 3.048 6.359 3 6.5 3L13.5 3C13.641 3 13.759 3.048 13.856 3.144ZM13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144ZM1.5 14C1.362 14 1.244 13.951 1.146 13.854C1.047 13.754 0.997 13.636 0.997 13.5C0.997 13.364 1.047 13.246 1.146 13.146L2.793 11.5L1.146 9.854C1.047 9.754 0.997 9.636 0.997 9.5C0.997 9.364 1.047 9.246 1.146 9.146C1.244 9.049 1.362 9 1.5 9C1.638 9 1.756 9.049 1.854 9.146L3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L1.854 13.854C1.756 13.951 1.638 14 1.5 14ZM6.144 11.856C6.048 11.759 6 11.641 6 11.5C6 11.359 6.048 11.241 6.144 11.144C6.241 11.048 6.359 11 6.5 11L13.5 11C13.641 11 13.759 11.048 13.856 11.144C13.952 11.241 14 11.359 14 11.5C14 11.641 13.952 11.759 13.856 11.856C13.759 11.952 13.641 12 13.5 12L6.5 12C6.359 12 6.241 11.952 6.144 11.856Z" />
</svg>
);
}Vue: see /icons/list-collapse.md
Svelte: see /icons/list-collapse.md
HTML img: see /icons/list-collapse.md
CSS: see /icons/list-collapse.md
Data URL: see /icons/list-collapse.md
Sprite: see /icons/list-collapse.md
SwiftUI: see /icons/list-collapse.md
Compose: see /icons/list-collapse.md
Android XML: see /icons/list-collapse.md
Flutter: see /icons/list-collapse.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 { ListCollapseIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- collapse list
- Alternatives
chevrons-down-up: collapse all sections of a page (show-less)
- Tags
- collapse, collapse list, fold, less, outline, tree, list, rows, hide items, show less
- Category
- Text & formatting
- Component name
ListCollapseIcon- History
- 20 px drawn, 24 px drawn, added, released in 0.4.0
- Since
- version 0.4.0
Family 21
More text & formatting icons
align-center align-justify align-justify-center align-left align-right asterisk bold border-all border-bottom border-horizontal border-inner border-left border-none border-outer border-right border-top · all text & formatting icons
For agents
Metadata: /icons/list-collapse.json · Markdown: /icons/list-collapse.md · SVG: https://gentleface.com/svg/{style}/16/list-collapse.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/list-collapse.png