The Lucide square code icon depicts a square containing code brackets, commonly used to represent code snippets, programming, or source files in user interfaces.
Common uses
- Button to view source code
- Link to a code repository
- Indicator for programming-related content
Use it in React
Install
npm i lucide-reactImport & render
import { SquareCode } from 'lucide-react';
<SquareCode size={24} />Details
- Library
- Lucide (1,713 icons)
- License
- ISC
- viewBox
0 0 24 24- Keywords
- gistsourceprogramminghtmlxmlcodingsquarecodecode snippetsource code
FAQ
- What is the square code icon used for?
- It's typically used to signify actions or content related to programming, source code, or data formats like HTML and XML.
- How do I use the square code icon in React?
- You can import and use it like this: import { SquareCode } from 'lucide-react'
- What is the license for this icon?
- The Lucide icon library, including the square-code icon, is available under the ISC license.
Related icons
The same idea in other libraries, and near matches in Lucide.