Line MD Square Twotone Icon
Use the Square Twotone SVG icon from Line MD in your product UI. IconStash gives you instant access to the SVG code, React JSX snippet, CSS background-mask, and custom PNG download — all from the browser with no login.
Interactive Customizer
About this icon
Use the Square Twotone icon
The Square Twotone icon (Line MD) is categorized under Interface. Its duotone style is optimal for feature highlight cards, onboarding illustrations, content-rich landing pages, and infographics and scales cleanly from 16px to 512px.
Use the IconStash detail panel to preview with a custom background, adjust stroke width, and generate production-ready SVG or PNG files without any external tools.
Export formats
Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.
All exports are based on the same editable vector — so the Square Twotone icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.
Design & UX integration
Aesthetic characteristics
Square Twotone is an animated line icon — the paths are authored so they can be drawn on progressively, which is what produces the writing-in effect. It suits loading, success and transition states where motion carries meaning, and should be disabled under prefers-reduced-motion.
UX best practices
As a general interface glyph, the Square Twotone icon does its job best between 16px and 24px, sitting next to a text label. Icon-only treatments work for a small set of universally understood actions, but comprehension falls off quickly once the action is specific to your product — so when in doubt, add the word.
Use in your project
React / npm — Line MD
npm install @iconify/react
import { Icon } from '@iconify/react';
// JSX usage (via Iconify):
<Icon icon="line-md:square-twotone" width={24} height={24} />
Copy the SVG markup directly from the IconStash editor to use the Square Twotone icon without any npm package — paste it into HTML, JSX, or a design tool.
Inline SVG (copy & paste)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="square-twotone icon"><path fill="currentColor" fill-opacity="0" stroke="currentColor" stroke-dasharray="66" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 12v-7c0 -0.55 0.45 -1 1 -1h14c0.55 0 1 0.45 1 1v14c0 0.55 -0.45 1 -1 1h-14c-0.55 0 -1 -0.45 -1 -1Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="66;0"/><animate fill="freeze" attributeName="fill-opacity" begin="0.6s" dur="0.15s" to=".3"/></path></svg>
Library & related icons
About Line MD Icons
1,200+ animated SVG line icons with smooth path animations. Perfect for loading states, success feedback, onboarding flows, and interactive interfaces.
Browse all 1,279 Line MD Icons icons →Related searches
People also search for
Frequently asked questions
What is the Square Twotone icon?
The Square Twotone icon is a duotone-style SVG icon from the Line MD library, categorized under Interface. It is designed for use in general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.
Is the Square Twotone icon free to use?
Yes. Line MD is licensed under MIT, making it free for personal and commercial use. This means you can freely use the Square Twotone icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.
How do I use the Square Twotone icon in React?
Install the package with `npm install @iconify/react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.
What is the Line MD icon library?
1,200+ animated SVG line icons with smooth path animations. Perfect for loading states, success feedback, onboarding flows, and interactive interfaces. It contains 1,279+ icons. IconStash indexes the complete Line MD collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.
Can I download the Square Twotone icon as a PNG?
Yes. Open the Square Twotone icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.
What does the duotone icon style mean?
An icon in duotone style uses a two-tone composition combining primary and secondary color layers for depth. This style is best suited for feature highlight cards, onboarding illustrations, content-rich landing pages, and infographics. The Line MD Square Twotone icon follows this visual convention throughout the Line MD design system.
Can I change the Square Twotone icon's color and size before downloading?
Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.