Code JS Rectangle icon
Used to represent Javascript project node. The Code JS Rectangle icon is part of Microsoft's Fluent UI System Icons, available here in regular and filled styles on a 16 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Every size and style
Microsoft draws each size separately so icons stay crisp, rather than scaling one drawing. Pick a style and size to preview it, download it, or copy the code for your platform.
Regular, 16 px
ic_fluent_code_js_rectangle_16_regular.svg
Code JS Rectangle icon in React
npm install @fluentui/react-icons
import { CodeJsRectangle16Regular } from "@fluentui/react-icons";
export function Example() {
return <CodeJsRectangle16Regular aria-label="Code JS Rectangle" />;
}Use the Code JS Rectangle icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { CodeJsRectangle16Regular, CodeJsRectangle16Filled } from "@fluentui/react-icons";
export function Example() {
return <CodeJsRectangle16Regular aria-label="Code JS Rectangle" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_code_js_rectangle_16_regular.svg" width="16" height="16" alt="Code JS Rectangle"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M12.25 3h-9.5C1.78 3 1 3.79 1 4.75v7.5c0 .96.78 1.75 1.75 1.75h9.5c.96 0 1.75-.79 1.75-1.75v-7.5C14 3.79 13.21 3 12.25 3m.75 9.25c0 .41-.34.75-.75.75h-9.5a.75.75 0 0 1-.75-.75v-7.5c0-.41.34-.75.75-.75h9.5c.41 0 .75.34.75.75zM6.96 6.31 7 6.5v3A1.5 1.5 0 0 1 5.5 11 1.5 1.5 0 0 1 4 9.5V9a.5.5 0 0 1 .15-.35.5.5 0 0 1 .35-.15.5.5 0 0 1 .35.15A.5.5 0 0 1 5 9v.5a.5.5 0 0 0 .15.35.5.5 0 0 0 .35.15.5.5 0 0 0 .35-.15A.5.5 0 0 0 6 9.5v-3a.5.5 0 0 1 .15-.35A.5.5 0 0 1 6.5 6a.5.5 0 0 1 .35.15q.08.06.11.16M10 7.5v-.07A.43.43 0 0 0 9.57 7h-.14a.4.4 0 0 0-.3.13.42.42 0 0 0 .11.68l.97.49a1.4 1.4 0 0 1 .75 1.6A1.4 1.4 0 0 1 9.59 11h-.15a1.4 1.4 0 0 1-1.32-.88A1.4 1.4 0 0 1 8 9.57q0-.2.14-.37t.36-.16a.5.5 0 0 1 .35.12.5.5 0 0 1 .15.34.5.5 0 0 0 .1.34.5.5 0 0 0 .33.16h.14a.43.43 0 0 0 .2-.8l-.98-.5a1.42 1.42 0 0 1-.25-2.39 1.6 1.6 0 0 1 2.04.1q.41.43.42 1.02 0 .2-.14.37t-.36.16a.5.5 0 0 1-.35-.12.46.46 0 0 1-.15-.34"/></svg>Details
| Name | Code JS Rectangle |
|---|---|
| Styles | Regular (outlined), Filled |
| Sizes | 16 px |
| Regular (outlined) file | ic_fluent_code_js_rectangle_16_regular.svg |
| Filled file | ic_fluent_code_js_rectangle_16_filled.svg |
| React (Regular) | CodeJsRectangle16Regular |
| React (Filled) | CodeJsRectangle16Filled |
| License | MIT (© Microsoft Corporation) |