Code TS Rectangle icon

Used to represent TypeScript project node. The Code TS 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.

Regular (outlined)

SVG

Filled

SVG

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_ts_rectangle_16_regular.svg

Code TS Rectangle icon in React

npm install @fluentui/react-icons

import { CodeTsRectangle16Regular } from "@fluentui/react-icons";

export function Example() {
  return <CodeTsRectangle16Regular aria-label="Code TS Rectangle" />;
}

Code TS Rectangle icon in SVG

npm install @fluentui/svg-icons

import icon from "@fluentui/svg-icons/icons/code_ts_rectangle_16_regular.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@fluentui/[email protected]/icons/code_ts_rectangle_16_regular.svg" width="16" height="16" alt="Code TS Rectangle">

Code TS Rectangle icon in Blazor

Microsoft's Fluent UI Blazor icons package:

dotnet add package Microsoft.FluentUI.AspNetCore.Components.Icons

<FluentIcon Value="@(new Icons.Regular.Size16.CodeTsRectangle())" />

Code TS Rectangle icon in Flutter

flutter pub add fluentui_system_icons

import 'package:fluentui_system_icons/fluentui_system_icons.dart';

Icon(FluentIcons.code_ts_rectangle_16_regular)

Code TS Rectangle icon in WinUI / WPF

Add FluentSystemIcons-Regular.ttf from Microsoft's repository to your app, then use the glyph:

<!-- WinUI 3 (font in Assets/Fonts) -->
<FontIcon FontFamily="ms-appx:///Assets/Fonts/FluentSystemIcons-Regular.ttf#FluentSystemIcons-Regular" Glyph="&#xF0D1;" FontSize="16" />

<!-- WPF (font in Fonts/, Build Action: Resource) -->
<TextBlock FontFamily="pack://application:,,,/Fonts/#FluentSystemIcons-Regular" Text="&#xF0D1;" FontSize="16" />

Code TS Rectangle icon in Icon font

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/microsoft/fluentui-system-icons@9cf8af0f95a555918a60b8147a2f33a6a1248442/fonts/FluentSystemIcons-Regular.css">

<i class="icon-ic_fluent_code_ts_rectangle_16_regular"></i>

/* or use the code point in your own CSS */
.icon::before {
  font-family: "FluentSystemIcons-Regular";
  content: "\f0d1";
  font-size: 16px;
}

Code TS Rectangle icon in Android

// build.gradle
implementation("com.microsoft.design:fluent-system-icons:1.1.341@aar")

<!-- layout XML -->
<ImageView android:src="@drawable/ic_fluent_code_ts_rectangle_16_regular" />

// Kotlin
R.drawable.ic_fluent_code_ts_rectangle_16_regular

Code TS Rectangle icon in iOS

# Podfile
pod "FluentIcons", "1.1.341"

import FluentIcons

UIImage(fluent: .codeTsRectangle16Regular)

Code TS Rectangle icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'>…</svg>")

Use the Code TS 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 { CodeTsRectangle16Regular, CodeTsRectangle16Filled } from "@fluentui/react-icons";

export function Example() {
  return <CodeTsRectangle16Regular aria-label="Code TS Rectangle" />;
}

Use it in HTML

Reference the SVG file directly:

<img src="https://fluenticons.co/icons/ic_fluent_code_ts_rectangle_16_regular.svg" width="16" height="16" alt="Code TS 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="M10.87 8.97A1.43 1.43 0 0 1 9.57 11h-.15A1.43 1.43 0 0 1 8 9.57a.53.53 0 0 1 .5-.53.5.5 0 0 1 .35.12.5.5 0 0 1 .15.34.45.45 0 0 0 .43.5h.14a.43.43 0 0 0 .37-.65.4.4 0 0 0-.18-.16L8.8 8.7a1.42 1.42 0 0 1-.25-2.39q.4-.3.89-.31h.14A1.43 1.43 0 0 1 11 7.43a.54.54 0 0 1-.5.53.5.5 0 0 1-.46-.28L10 7.5v-.07A.43.43 0 0 0 9.57 7h-.14a.43.43 0 0 0-.36.65q.06.1.17.16l.97.49q.45.22.65.67M4 6a.5.5 0 1 0 0 1h1v3.5a.5.5 0 0 0 1 0V7h1a.5.5 0 1 0 0-1zM2.75 3C1.78 3 1 3.78 1 4.75v7.5c0 .97.78 1.75 1.75 1.75h9.5c.97 0 1.75-.78 1.75-1.75v-7.5C14 3.78 13.22 3 12.25 3zM2 4.75c0-.41.34-.75.75-.75h9.5c.41 0 .75.34.75.75v7.5c0 .41-.34.75-.75.75h-9.5a.75.75 0 0 1-.75-.75z"/></svg>

Details

NameCode TS Rectangle
StylesRegular (outlined), Filled
Sizes16 px
Regular (outlined) fileic_fluent_code_ts_rectangle_16_regular.svg
Filled fileic_fluent_code_ts_rectangle_16_filled.svg
React (Regular)CodeTsRectangle16Regular
React (Filled)CodeTsRectangle16Filled
LicenseMIT (© Microsoft Corporation)

Keywords

project nodelanguagevbtypescripttypescript

Related icons