Use this icon in your code
Pick how you want to install it. The snippets follow the color, size and stroke you set in the panel.
Smallest install: just this one library.
npm install @rdicons/react-octiconimport { PrimitiveSquare } from '@rdicons/react-octicon'
export function Example() {
return <PrimitiveSquare />
}SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="24" viewBox="0 0 8 16"><path fill-rule="evenodd" d="M8 12H0V4h8v8z" fill="#000000"/></svg>