Gentleface › Games & sports › chess-king
chess-king icon
chess-kingChess king: chess king. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated chess-king-step · line-round
The king is slid one step to the left. When its base stops, the top carries on and it tips onto the leading corner and rocks back. It is slid back and tips the other way before it stands still.
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.3 s to 2.7 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="M6.5 3C6.359 3 6.241 2.952 6.144 2.856C6.048 2.759 6 2.641 6 2.5C6 2.359 6.048 2.241 6.144 2.144C6.241 2.048 6.359 2 6.5 2L7 2L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 2L8.5 2C8.641 2 8.759 2.048 8.856 2.144C8.952 2.241 9 2.359 9 2.5C9 2.641 8.952 2.759 8.856 2.856C8.759 2.952 8.641 3 8.5 3L8 3L8 4.337C8.138 4.272 8.281 4.215 8.429 4.168C8.954 3.999 9.489 3.957 10.034 4.041C10.579 4.125 11.076 4.327 11.526 4.646C11.93 4.933 12.259 5.29 12.511 5.716C12.764 6.143 12.919 6.603 12.976 7.095C13.04 7.643 12.978 8.176 12.79 8.694C12.602 9.212 12.308 9.661 11.908 10.04C11.636 10.298 11.333 10.505 11 10.663L11 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144C12.952 12.241 13 12.359 13 12.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 12.5C2 12.359 2.048 12.241 2.144 12.144C2.241 12.048 2.359 12 2.5 12L4 12L4 10.663C3.667 10.505 3.364 10.298 3.092 10.04C2.692 9.661 2.398 9.212 2.21 8.694C2.022 8.176 1.96 7.643 2.024 7.095C2.081 6.603 2.236 6.143 2.489 5.716C2.741 5.29 3.07 4.933 3.474 4.646C3.924 4.327 4.421 4.125 4.966 4.041C5.511 3.957 6.046 3.999 6.571 4.168C6.719 4.215 6.862 4.272 7 4.337L7 3L6.5 3ZM11.22 9.314C11.506 9.043 11.716 8.723 11.85 8.353C11.984 7.983 12.029 7.602 11.983 7.211C11.942 6.859 11.831 6.531 11.651 6.226C11.47 5.921 11.236 5.666 10.947 5.461C10.626 5.233 10.271 5.089 9.881 5.029C9.492 4.969 9.11 4.999 8.735 5.12C8.398 5.228 8.097 5.4 7.833 5.637C7.737 5.723 7.626 5.766 7.5 5.766C7.374 5.766 7.263 5.723 7.167 5.637C6.903 5.4 6.602 5.228 6.265 5.12C5.89 4.999 5.508 4.969 5.119 5.029C4.729 5.089 4.374 5.233 4.053 5.461C3.764 5.666 3.53 5.921 3.349 6.226C3.169 6.531 3.058 6.859 3.017 7.211C2.971 7.602 3.016 7.983 3.15 8.353C3.284 8.723 3.494 9.043 3.78 9.314C4.037 9.558 4.333 9.739 4.667 9.857C4.749 9.886 4.819 9.934 4.877 10L10.123 10C10.181 9.934 10.251 9.886 10.333 9.857C10.667 9.739 10.963 9.558 11.22 9.314ZM10 11L5 11L5 12L10 12L10 11ZM3 14L12 14L12 13L3 13L3 14Z"/></svg>
// Gentleface "chess-king" (line-round), MIT. https://gentleface.com/icons/chess-king
import type { SVGProps } from 'react';
export function ChessKingIcon(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="M6.5 3C6.359 3 6.241 2.952 6.144 2.856C6.048 2.759 6 2.641 6 2.5C6 2.359 6.048 2.241 6.144 2.144C6.241 2.048 6.359 2 6.5 2L7 2L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 2L8.5 2C8.641 2 8.759 2.048 8.856 2.144C8.952 2.241 9 2.359 9 2.5C9 2.641 8.952 2.759 8.856 2.856C8.759 2.952 8.641 3 8.5 3L8 3L8 4.337C8.138 4.272 8.281 4.215 8.429 4.168C8.954 3.999 9.489 3.957 10.034 4.041C10.579 4.125 11.076 4.327 11.526 4.646C11.93 4.933 12.259 5.29 12.511 5.716C12.764 6.143 12.919 6.603 12.976 7.095C13.04 7.643 12.978 8.176 12.79 8.694C12.602 9.212 12.308 9.661 11.908 10.04C11.636 10.298 11.333 10.505 11 10.663L11 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144C12.952 12.241 13 12.359 13 12.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 12.5C2 12.359 2.048 12.241 2.144 12.144C2.241 12.048 2.359 12 2.5 12L4 12L4 10.663C3.667 10.505 3.364 10.298 3.092 10.04C2.692 9.661 2.398 9.212 2.21 8.694C2.022 8.176 1.96 7.643 2.024 7.095C2.081 6.603 2.236 6.143 2.489 5.716C2.741 5.29 3.07 4.933 3.474 4.646C3.924 4.327 4.421 4.125 4.966 4.041C5.511 3.957 6.046 3.999 6.571 4.168C6.719 4.215 6.862 4.272 7 4.337L7 3L6.5 3ZM11.22 9.314C11.506 9.043 11.716 8.723 11.85 8.353C11.984 7.983 12.029 7.602 11.983 7.211C11.942 6.859 11.831 6.531 11.651 6.226C11.47 5.921 11.236 5.666 10.947 5.461C10.626 5.233 10.271 5.089 9.881 5.029C9.492 4.969 9.11 4.999 8.735 5.12C8.398 5.228 8.097 5.4 7.833 5.637C7.737 5.723 7.626 5.766 7.5 5.766C7.374 5.766 7.263 5.723 7.167 5.637C6.903 5.4 6.602 5.228 6.265 5.12C5.89 4.999 5.508 4.969 5.119 5.029C4.729 5.089 4.374 5.233 4.053 5.461C3.764 5.666 3.53 5.921 3.349 6.226C3.169 6.531 3.058 6.859 3.017 7.211C2.971 7.602 3.016 7.983 3.15 8.353C3.284 8.723 3.494 9.043 3.78 9.314C4.037 9.558 4.333 9.739 4.667 9.857C4.749 9.886 4.819 9.934 4.877 10L10.123 10C10.181 9.934 10.251 9.886 10.333 9.857C10.667 9.739 10.963 9.558 11.22 9.314ZM10 11L5 11L5 12L10 12L10 11ZM3 14L12 14L12 13L3 13L3 14Z" />
</svg>
);
}Vue: see /icons/chess-king.md
Svelte: see /icons/chess-king.md
HTML img: see /icons/chess-king.md
CSS: see /icons/chess-king.md
Data URL: see /icons/chess-king.md
Sprite: see /icons/chess-king.md
SwiftUI: see /icons/chess-king.md
Compose: see /icons/chess-king.md
Android XML: see /icons/chess-king.md
Flutter: see /icons/chess-king.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 { ChessKingIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- chess king
- Tags
- chess, king, cross, chess-piece, checkmate, board-game, strategy
- Category
- Games & sports
- Component name
ChessKingIcon- History
- added
- released in 0.1.0
- changed in 0.2.0
- 16 px redrawn
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 5
More games & sports icons
alien american-football american-football-off badminton barbell barbell-off baseball baseball-bat baseball-helmet basketball basketball-court basketball-hoop beach-ball bench-press billiards bomb · all games & sports icons
For agents
Metadata: /icons/chess-king.json · Markdown: /icons/chess-king.md · SVG: https://gentleface.com/svg/{style}/16/chess-king.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/chess-king.png