gentleface

Gentleface › Text & formatting › float-left

float-left icon

Float left: float left, wrap text right of image, image left, align image left. 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="M7.707 3.293C7.902 3.488 8 3.724 8 4L8 9C8 9.276 7.902 9.512 7.707 9.707C7.512 9.902 7.276 10 7 10L2 10C1.724 10 1.488 9.902 1.293 9.707C1.098 9.512 1 9.276 1 9L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L7 3C7.276 3 7.512 3.098 7.707 3.293ZM10.144 3.856C10.048 3.759 10 3.641 10 3.5C10 3.359 10.048 3.241 10.144 3.144C10.241 3.048 10.359 3 10.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L10.5 4C10.359 4 10.241 3.952 10.144 3.856ZM10.144 6.856C10.048 6.759 10 6.641 10 6.5C10 6.359 10.048 6.241 10.144 6.144C10.241 6.048 10.359 6 10.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L10.5 7C10.359 7 10.241 6.952 10.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L10.5 10C10.359 10 10.241 9.952 10.144 9.856C10.048 9.759 10 9.641 10 9.5C10 9.359 10.048 9.241 10.144 9.144C10.241 9.048 10.359 9 10.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5Z"/></svg>
React
// Gentleface "float-left" (line-round), MIT. https://gentleface.com/icons/float-left
import type { SVGProps } from 'react';

export function FloatLeftIcon(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.707 3.293C7.902 3.488 8 3.724 8 4L8 9C8 9.276 7.902 9.512 7.707 9.707C7.512 9.902 7.276 10 7 10L2 10C1.724 10 1.488 9.902 1.293 9.707C1.098 9.512 1 9.276 1 9L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L7 3C7.276 3 7.512 3.098 7.707 3.293ZM10.144 3.856C10.048 3.759 10 3.641 10 3.5C10 3.359 10.048 3.241 10.144 3.144C10.241 3.048 10.359 3 10.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L10.5 4C10.359 4 10.241 3.952 10.144 3.856ZM10.144 6.856C10.048 6.759 10 6.641 10 6.5C10 6.359 10.048 6.241 10.144 6.144C10.241 6.048 10.359 6 10.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L10.5 7C10.359 7 10.241 6.952 10.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L10.5 10C10.359 10 10.241 9.952 10.144 9.856C10.048 9.759 10 9.641 10 9.5C10 9.359 10.048 9.241 10.144 9.144C10.241 9.048 10.359 9 10.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5Z" />
    </svg>
  );
}
Vue
Vue: see /icons/float-left.md
Svelte
Svelte: see /icons/float-left.md
HTML img
HTML img: see /icons/float-left.md
CSS
CSS: see /icons/float-left.md
Data URL
Data URL: see /icons/float-left.md
Sprite
Sprite: see /icons/float-left.md
SwiftUI
SwiftUI: see /icons/float-left.md
Compose
Compose: see /icons/float-left.md
Android XML
Android XML: see /icons/float-left.md
Flutter
Flutter: see /icons/float-left.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 { FloatLeftIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
float left, wrap text right of image, image left, align image left
Alternatives
  • float-right: the image on the right (float-right)
  • text-wrap: wrap long lines inside a cell or a box (word-wrap)
Also fits
  • float right: the image on the left (float-left)
  • word wrap: wrap text around an image (float-left)
Tags
float, left, wrap, text wrap, image, inline image, square wrap, layout, align, paragraph, format
Category
Text & formatting
Component name
FloatLeftIcon
History
  • 20 px drawn, 24 px drawn, added, released in 0.4.0
Since
version 0.4.0

More text & formatting icons

For agents

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