# Blocks
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0xMCAyMlY3YTEgMSAwIDAgMC0xLTFINGEyIDIgMCAwIDAtMiAydjEyYTIgMiAwIDAgMCAyIDJoMTJhMiAyIDAgMCAwIDItMnYtNWExIDEgMCAwIDAtMS0xSDIiPjwvcGF0aD48cmVjdCBoZWlnaHQ9IjgiIHJ4PSIxIiB3aWR0aD0iOCIgeD0iMTQiIHk9IjIiPjwvcmVjdD48L3N2Zz4=" alt="Blocks icon">
<div class="dioxus-icons-widget" data-icon-name="Blocks" data-svg="<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="M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2"></path><rect height="8" rx="1" width="8" x="14" y="2"></rect></svg>" data-size="24" data-color="#000000" data-stroke="2"><div class="dioxus-icons-widget-header"><div class="dioxus-icons-widget-preview" data-di-preview="true" aria-label="Blocks preview"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0xMCAyMlY3YTEgMSAwIDAgMC0xLTFINGEyIDIgMCAwIDAtMiAydjEyYTIgMiAwIDAgMCAyIDJoMTJhMiAyIDAgMCAwIDItMnYtNWExIDEgMCAwIDAtMS0xSDIiPjwvcGF0aD48cmVjdCBoZWlnaHQ9IjgiIHJ4PSIxIiB3aWR0aD0iOCIgeD0iMTQiIHk9IjIiPjwvcmVjdD48L3N2Zz4=" alt="Blocks icon"></div><div class="dioxus-icons-widget-controls"><label><span class="dioxus-icons-widget-label">Size</span><input data-di-size="true" type="number" min="1" max="256" value="24"></label><label><span class="dioxus-icons-widget-label">Color</span><input data-di-color="true" type="color" value="#000000"></label><label><span class="dioxus-icons-widget-label">Stroke</span><input data-di-stroke="true" type="number" min="1" max="12" value="2"></label></div></div><div class="dioxus-icons-widget-output"><pre class="dioxus-icons-widget-code dxc dxc-system dxc-system-light-github-light dxc-system-dark-github-dark" data-language="rust"><code data-di-code="true"><span class="a-t">Blocks</span><span> </span><span class="a-p">{</span><span> </span><span class="a-pr">size</span><span class="a-p">:</span><span> </span><span class="a-co">24</span><span class="a-p">,</span><span> </span><span class="a-pr">stroke</span><span class="a-p">:</span><span> </span><span class="a-s">"#000000"</span><span class="a-p">,</span><span> </span><span class="a-pr">stroke_width</span><span class="a-p">:</span><span> </span><span class="a-co">2</span><span> </span><span class="a-p">}</span></code></pre><button type="button" class="dioxus-icons-widget-copy" data-di-copy="true" aria-label="Copy RSX snippet"><span data-di-copy-icon="true"></span><span data-di-copy-label="true">Copy RSX</span></button></div></div>
## Example
```rust
use dioxus::prelude::*;
use dioxus_icons::lucide::Blocks;
fn app() -> Element {
rsx! {
Blocks { size: 20, stroke: "red" }
}
}
```
## Tags
addon, plugin, integration, extension, package, build, stack, toys, kids, children, learning, squares, corner
## Categories
development, layout, shapes
## Source
[Lucide v1.14.0](https://lucide.dev/icons/blocks)
## Related Icons
<div class="dioxus-icons-related"><a class="dioxus-icons-related-link" href="fn.LayoutPanelTop.html" title="LayoutPanelTop"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSIxOCIgeD0iMyIgeT0iMyI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI3IiB4PSIzIiB5PSIxNCI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI3IiB4PSIxNCIgeT0iMTQiPjwvcmVjdD48L3N2Zz4=" alt="LayoutPanelTop icon"><span>LayoutPanelTop</span></a><a class="dioxus-icons-related-link" href="fn.BringToFront.html" title="BringToFront"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxyZWN0IGhlaWdodD0iOCIgcng9IjIiIHdpZHRoPSI4IiB4PSI4IiB5PSI4Ij48L3JlY3Q+PHBhdGggZD0iTTQgMTBhMiAyIDAgMCAxLTItMlY0YTIgMiAwIDAgMSAyLTJoNGEyIDIgMCAwIDEgMiAyIj48L3BhdGg+PHBhdGggZD0iTTE0IDIwYTIgMiAwIDAgMCAyIDJoNGEyIDIgMCAwIDAgMi0ydi00YTIgMiAwIDAgMC0yLTIiPjwvcGF0aD48L3N2Zz4=" alt="BringToFront icon"><span>BringToFront</span></a><a class="dioxus-icons-related-link" href="fn.LayoutPanelLeft.html" title="LayoutPanelLeft"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxyZWN0IGhlaWdodD0iMTgiIHJ4PSIxIiB3aWR0aD0iNyIgeD0iMyIgeT0iMyI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI3IiB4PSIxNCIgeT0iMyI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI3IiB4PSIxNCIgeT0iMTQiPjwvcmVjdD48L3N2Zz4=" alt="LayoutPanelLeft icon"><span>LayoutPanelLeft</span></a><a class="dioxus-icons-related-link" href="fn.LayoutDashboard.html" title="LayoutDashboard"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxyZWN0IGhlaWdodD0iOSIgcng9IjEiIHdpZHRoPSI3IiB4PSIzIiB5PSIzIj48L3JlY3Q+PHJlY3QgaGVpZ2h0PSI1IiByeD0iMSIgd2lkdGg9IjciIHg9IjE0IiB5PSIzIj48L3JlY3Q+PHJlY3QgaGVpZ2h0PSI5IiByeD0iMSIgd2lkdGg9IjciIHg9IjE0IiB5PSIxMiI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNSIgcng9IjEiIHdpZHRoPSI3IiB4PSIzIiB5PSIxNiI+PC9yZWN0Pjwvc3ZnPg==" alt="LayoutDashboard icon"><span>LayoutDashboard</span></a><a class="dioxus-icons-related-link" href="fn.LayoutTemplate.html" title="LayoutTemplate"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSIxOCIgeD0iMyIgeT0iMyI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI5IiB4PSIzIiB5PSIxNCI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI1IiB4PSIxNiIgeT0iMTQiPjwvcmVjdD48L3N2Zz4=" alt="LayoutTemplate icon"><span>LayoutTemplate</span></a><a class="dioxus-icons-related-link" href="fn.LayoutGrid.html" title="LayoutGrid"><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI3IiB4PSIzIiB5PSIzIj48L3JlY3Q+PHJlY3QgaGVpZ2h0PSI3IiByeD0iMSIgd2lkdGg9IjciIHg9IjE0IiB5PSIzIj48L3JlY3Q+PHJlY3QgaGVpZ2h0PSI3IiByeD0iMSIgd2lkdGg9IjciIHg9IjE0IiB5PSIxNCI+PC9yZWN0PjxyZWN0IGhlaWdodD0iNyIgcng9IjEiIHdpZHRoPSI3IiB4PSIzIiB5PSIxNCI+PC9yZWN0Pjwvc3ZnPg==" alt="LayoutGrid icon"><span>LayoutGrid</span></a></div>