gentleface

Gentleface › Text & formatting › float-right

float-right icon

Float right: float right, wrap text left of image, image right, align image right. 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="M5.856 3.144C5.952 3.241 6 3.359 6 3.5C6 3.641 5.952 3.759 5.856 3.856C5.759 3.952 5.641 4 5.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L5.5 3C5.641 3 5.759 3.048 5.856 3.144ZM14 10L9 10C8.724 10 8.488 9.902 8.293 9.707C8.098 9.512 8 9.276 8 9L8 4C8 3.724 8.098 3.488 8.293 3.293C8.488 3.098 8.724 3 9 3L14 3C14.276 3 14.512 3.098 14.707 3.293C14.902 3.488 15 3.724 15 4L15 9C15 9.276 14.902 9.512 14.707 9.707C14.512 9.902 14.276 10 14 10ZM5.856 6.144C5.952 6.241 6 6.359 6 6.5C6 6.641 5.952 6.759 5.856 6.856C5.759 6.952 5.641 7 5.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L5.5 6C5.641 6 5.759 6.048 5.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM1 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.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.5Z"/></svg>
React
// Gentleface "float-right" (line-round), MIT. https://gentleface.com/icons/float-right
import type { SVGProps } from 'react';

export function FloatRightIcon(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="M5.856 3.144C5.952 3.241 6 3.359 6 3.5C6 3.641 5.952 3.759 5.856 3.856C5.759 3.952 5.641 4 5.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L5.5 3C5.641 3 5.759 3.048 5.856 3.144ZM14 10L9 10C8.724 10 8.488 9.902 8.293 9.707C8.098 9.512 8 9.276 8 9L8 4C8 3.724 8.098 3.488 8.293 3.293C8.488 3.098 8.724 3 9 3L14 3C14.276 3 14.512 3.098 14.707 3.293C14.902 3.488 15 3.724 15 4L15 9C15 9.276 14.902 9.512 14.707 9.707C14.512 9.902 14.276 10 14 10ZM5.856 6.144C5.952 6.241 6 6.359 6 6.5C6 6.641 5.952 6.759 5.856 6.856C5.759 6.952 5.641 7 5.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L5.5 6C5.641 6 5.759 6.048 5.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM1 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.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.5Z" />
    </svg>
  );
}
Vue
Vue: see /icons/float-right.md
Svelte
Svelte: see /icons/float-right.md
HTML img
HTML img: see /icons/float-right.md
CSS
CSS: see /icons/float-right.md
Data URL
Data URL: see /icons/float-right.md
Sprite
Sprite: see /icons/float-right.md
SwiftUI
SwiftUI: see /icons/float-right.md
Compose
Compose: see /icons/float-right.md
Android XML
Android XML: see /icons/float-right.md
Flutter
Flutter: see /icons/float-right.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 { FloatRightIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
float right, wrap text left of image, image right, align image right
Alternatives
Also fits
  • float left: the image on the right (float-right)
Tags
float, right, wrap, text wrap, image, inline image, square wrap, layout, align, paragraph, format
Category
Text & formatting
Component name
FloatRightIcon
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-right.json · Markdown: /icons/float-right.md · SVG: https://gentleface.com/svg/{style}/16/float-right.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/float-right.png