gentleface

Gentleface › Arrows › fold-up

fold-up icon

Fold up: expand lines above, show lines above. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated fold-up-fold · line-round

The outer dashes of the fold line swing up and over onto their neighbours, folding the line in like a folding rule, and the arrow rises with it. Then the line unfolds back flat, slapping down with a small rebound, and the arrow settles.

Download SVG

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 1.7 s. Examples and helper.

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="M7.5 3C7.638 3 7.756 3.049 7.854 3.146L10.854 6.146C10.951 6.244 11 6.362 11 6.5C11 6.638 10.951 6.756 10.854 6.854C10.754 6.953 10.636 7.003 10.5 7.003C10.364 7.003 10.246 6.953 10.146 6.854L8 4.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854C4.047 6.754 3.997 6.636 3.997 6.5C3.997 6.364 4.047 6.246 4.146 6.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM3 13L1 13L1 12L3 12L3 13ZM6 13L4 13L4 12L6 12L6 13ZM11 13L9 13L9 12L11 12L11 13ZM14 13L12 13L12 12L14 12L14 13Z"/></svg>
React
// Gentleface "fold-up" (line-round), MIT. https://gentleface.com/icons/fold-up
import type { SVGProps } from 'react';

export function FoldUpIcon(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="M7.5 3C7.638 3 7.756 3.049 7.854 3.146L10.854 6.146C10.951 6.244 11 6.362 11 6.5C11 6.638 10.951 6.756 10.854 6.854C10.754 6.953 10.636 7.003 10.5 7.003C10.364 7.003 10.246 6.953 10.146 6.854L8 4.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854C4.047 6.754 3.997 6.636 3.997 6.5C3.997 6.364 4.047 6.246 4.146 6.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM3 13L1 13L1 12L3 12L3 13ZM6 13L4 13L4 12L6 12L6 13ZM11 13L9 13L9 12L11 12L11 13ZM14 13L12 13L12 12L14 12L14 13Z" />
    </svg>
  );
}
Vue
Vue: see /icons/fold-up.md
Svelte
Svelte: see /icons/fold-up.md
HTML img
HTML img: see /icons/fold-up.md
CSS
CSS: see /icons/fold-up.md
Data URL
Data URL: see /icons/fold-up.md
Sprite
Sprite: see /icons/fold-up.md
SwiftUI
SwiftUI: see /icons/fold-up.md
Compose
Compose: see /icons/fold-up.md
Android XML
Android XML: see /icons/fold-up.md
Flutter
Flutter: see /icons/fold-up.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 { FoldUpIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
expand lines above, show lines above
Alternatives
  • unfold: unfold a whole folded region (unfold)
  • fold-down: reveal hidden lines below instead (expand-lines-below)
Also fits
  • expand lines below: reveal hidden lines above instead (expand-lines-above)
Tags
fold, unfold, expand, expand-up, show-more, lines-above, diff, code-folding, hidden-lines, reveal, arrow, up
Category
Arrows
Component name
FoldUpIcon
History
  • released in 0.2.0
  • added
  • 20 px drawn, 24 px drawn
Since
version 0.2.0

Family 5

More arrows icons

For agents

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