gentleface

Gentleface › Games & sports › joystick

joystick icon

Joystick: joystick, arcade, retro gaming, arcade games. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated joystick-tilt · line-round

The stick throws left and holds, throws right and holds from its pivot in the base, and the button fires twice while it is over. The stick springs back past centre and 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.2 s to 2.1 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="M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z"/></svg>
React
// Gentleface "joystick" (line-round), MIT. https://gentleface.com/icons/joystick
import type { SVGProps } from 'react';

export function JoystickIcon(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="M12.5 10C12.641 10 12.759 10.048 12.856 10.144C12.952 10.241 13 10.359 13 10.5L13 13.5C13 13.641 12.952 13.759 12.856 13.856C12.759 13.952 12.641 14 12.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L3 10L3 8.5C3 8.359 3.048 8.241 3.144 8.144C3.241 8.048 3.359 8 3.5 8L5.5 8C5.641 8 5.759 8.048 5.856 8.144C5.952 8.241 6 8.359 6 8.5L6 10L7 10L7 5.95C6.857 5.921 6.717 5.879 6.58 5.824C6.259 5.697 5.976 5.512 5.732 5.268C5.488 5.024 5.303 4.741 5.176 4.42C5.059 4.125 5 3.818 5 3.5C5 3.182 5.059 2.875 5.176 2.58C5.303 2.259 5.488 1.976 5.732 1.732C5.976 1.488 6.259 1.303 6.58 1.176C6.875 1.059 7.182 1 7.5 1C7.818 1 8.125 1.059 8.42 1.176C8.741 1.303 9.024 1.488 9.268 1.732C9.512 1.976 9.697 2.259 9.824 2.58C9.941 2.875 10 3.182 10 3.5C10 3.818 9.941 4.125 9.824 4.42C9.697 4.741 9.512 5.024 9.268 5.268C9.024 5.512 8.741 5.697 8.42 5.824C8.283 5.879 8.142 5.921 8 5.95L8 10L12.5 10ZM6.439 4.561C6.586 4.707 6.755 4.818 6.948 4.895C7.125 4.965 7.309 5 7.5 5C7.691 5 7.875 4.965 8.052 4.895C8.245 4.818 8.414 4.707 8.561 4.561C8.707 4.414 8.818 4.245 8.895 4.052C8.965 3.875 9 3.691 9 3.5C9 3.309 8.965 3.125 8.895 2.948C8.818 2.755 8.707 2.586 8.561 2.439C8.414 2.293 8.245 2.182 8.052 2.105C7.875 2.035 7.691 2 7.5 2C7.309 2 7.125 2.035 6.948 2.105C6.755 2.182 6.586 2.293 6.439 2.439C6.293 2.586 6.182 2.755 6.105 2.948C6.035 3.125 6 3.309 6 3.5C6 3.691 6.035 3.875 6.105 4.052C6.182 4.245 6.293 4.414 6.439 4.561ZM4 9L4 10L5 10L5 9L4 9ZM12 11L3 11L3 13L12 13L12 11Z" />
    </svg>
  );
}
Vue
Vue: see /icons/joystick.md
Svelte
Svelte: see /icons/joystick.md
HTML img
HTML img: see /icons/joystick.md
CSS
CSS: see /icons/joystick.md
Data URL
Data URL: see /icons/joystick.md
Sprite
Sprite: see /icons/joystick.md
SwiftUI
SwiftUI: see /icons/joystick.md
Compose
Compose: see /icons/joystick.md
Android XML
Android XML: see /icons/joystick.md
Flutter
Flutter: see /icons/joystick.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 { JoystickIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
joystick, arcade, retro gaming, arcade games
Alternatives
  • gamepad: video games or gaming in general
Also fits
  • gamepad: arcade or retro gaming
Tags
joystick, arcade, stick, controller, retro, gaming, game, flight-stick, console
Category
Games & sports
Component name
JoystickIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

More games & sports icons

For agents

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