Four blocks with one lifted out of the corner, for components, modules and building blocks. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

LayoutNewv1.5.0Added
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M3 7C3 5.8954 3.8954 5 5 5L9 5C10.1046 5 11 5.8954 11 7L11 13L17 13C18.1046 13 19 13.8954 19 15L19 19C19 20.1046 18.1046 21 17 21L5 21C3.8954 21 3 20.1046 3 19L3 7ZM3 13L11 13M11 13L11 21M15 5C15 3.8954 15.8954 3 17 3L19 3C20.1046 3 21 3.8954 21 5L21 7C21 8.1046 20.1046 9 19 9L17 9C15.8954 9 15 8.1046 15 7L15 5Z" fill="none"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • components
  • modules
  • building blocks
  • widgets
  • add-ons
  • apps
  • sections

Related icons

The rest of the blocks family first, then the Layout shelf.

FAQ

Answered from blocks's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the blocks icon for?
Four blocks with one lifted out of the corner, for components, modules and building blocks. It is filed under Layout in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as components, modules, building blocks, widgets, add-ons, apps and sections, and the browser's search matches all of those.
What styles does the blocks icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of blocks?
No. blocks is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with blocks?
blocks-2, align-offset-bottom, align-offset-left, align-offset-right, align-offset-top and circle-align-offset-bottom, and 12 more, all shown below. The blocks family is listed first, then the rest of the Layout shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import blocks in React?
<Blocks /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <Blocks size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the blocks SVG?
icons/stroke/blocks.svg, icons/two-tone/blocks.svg, icons/duotone/blocks.svg and icons/fill/blocks.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was blocks added to the set?
Added 1 Oct 2026. It ships in v1.5.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.