Gentleface › Games & sports › toy-brick
toy-brick icon
toy-brickToy brick: toy, building block, toys, building blocks. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated toy-brick-stack · line-round
A second brick comes down from above, its underside closes over the studs and it clicks home with both bricks giving a little. It is pulled off again, lifting the lower brick with it until the studs let go.
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 2.3 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="M3.144 2.144C3.241 2.048 3.359 2 3.5 2L6.5 2C6.641 2 6.759 2.048 6.856 2.144C6.952 2.241 7 2.359 7 2.5L7 5L9 5L9 2.5C9 2.359 9.048 2.241 9.144 2.144C9.241 2.048 9.359 2 9.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 5C13.254 5 13.5 5.047 13.736 5.14C13.993 5.242 14.219 5.391 14.414 5.586C14.609 5.781 14.758 6.007 14.86 6.264C14.953 6.5 15 6.746 15 7L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 7C1 6.746 1.047 6.5 1.14 6.264C1.242 6.007 1.391 5.781 1.586 5.586C1.781 5.391 2.007 5.242 2.264 5.14C2.5 5.047 2.746 5 3 5L3 2.5C3 2.359 3.048 2.241 3.144 2.144ZM6 3L4 3L4 5L6 5L6 3ZM10 3L10 5L12 5L12 3L10 3ZM2.293 12.707C2.488 12.902 2.724 13 3 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 7C14 6.724 13.902 6.488 13.707 6.293C13.512 6.098 13.276 6 13 6L3 6C2.724 6 2.488 6.098 2.293 6.293C2.098 6.488 2 6.724 2 7L2 12C2 12.276 2.098 12.512 2.293 12.707Z"/></svg>
// Gentleface "toy-brick" (line-round), MIT. https://gentleface.com/icons/toy-brick
import type { SVGProps } from 'react';
export function ToyBrickIcon(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="M3.144 2.144C3.241 2.048 3.359 2 3.5 2L6.5 2C6.641 2 6.759 2.048 6.856 2.144C6.952 2.241 7 2.359 7 2.5L7 5L9 5L9 2.5C9 2.359 9.048 2.241 9.144 2.144C9.241 2.048 9.359 2 9.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 5C13.254 5 13.5 5.047 13.736 5.14C13.993 5.242 14.219 5.391 14.414 5.586C14.609 5.781 14.758 6.007 14.86 6.264C14.953 6.5 15 6.746 15 7L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 7C1 6.746 1.047 6.5 1.14 6.264C1.242 6.007 1.391 5.781 1.586 5.586C1.781 5.391 2.007 5.242 2.264 5.14C2.5 5.047 2.746 5 3 5L3 2.5C3 2.359 3.048 2.241 3.144 2.144ZM6 3L4 3L4 5L6 5L6 3ZM10 3L10 5L12 5L12 3L10 3ZM2.293 12.707C2.488 12.902 2.724 13 3 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 7C14 6.724 13.902 6.488 13.707 6.293C13.512 6.098 13.276 6 13 6L3 6C2.724 6 2.488 6.098 2.293 6.293C2.098 6.488 2 6.724 2 7L2 12C2 12.276 2.098 12.512 2.293 12.707Z" />
</svg>
);
}Vue: see /icons/toy-brick.md
Svelte: see /icons/toy-brick.md
HTML img: see /icons/toy-brick.md
CSS: see /icons/toy-brick.md
Data URL: see /icons/toy-brick.md
Sprite: see /icons/toy-brick.md
SwiftUI: see /icons/toy-brick.md
Compose: see /icons/toy-brick.md
Android XML: see /icons/toy-brick.md
Flutter: see /icons/toy-brick.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 { ToyBrickIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- toy, building block, toys, building blocks
- Alternatives
component: a reusable UI or design component
- Don’t confuse with
puzzle: puzzle is plugin and integration
- Tags
- toy, toy-brick, brick, building-block, block, construction-toy, kids, play, build, stud
- Category
- Games & sports
- Component name
ToyBrickIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
More games & sports icons
alien american-football badminton barbell baseball baseball-bat basketball basketball-court billiards bomb bow-arrow bowling boxing-glove chess-bishop chess-king chess-knight · all games & sports icons
For agents
Metadata: /icons/toy-brick.json · Markdown: /icons/toy-brick.md · SVG: https://gentleface.com/svg/{style}/16/toy-brick.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/toy-brick.png