ICONYZ
English
Typescript Def icon from Material Icon Theme

Typescript Def icon

material-icon-theme:typescript-def

The Typescript Def icon (material-icon-theme:typescript-def) is a free SVG icon from the Material Icon Theme set by Material Extensions. It is drawn on a 24 × 24 grid. Material Icon Theme icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Material Icon Theme
Author
Material Extensions
License
MIT
Size
24 × 24
Tags
typescriptdef
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="#0288d1"><path d="M2 2v12h12V2zm1 1h10v10H3z"/><path d="M5 7v1h1v4h1V8h1V7zm5 0a1.003 1.003 0 0 0-1 1v1a1.003 1.003 0 0 0 1 1h1v1H9v1h2a1.003 1.003 0 0 0 1-1v-1a1.003 1.003 0 0 0-1-1h-1V8h2V7z"/></g></svg>

How to use the Typescript Def icon

React

import { Icon } from "@iconify/react";

<Icon icon="material-icon-theme:typescript-def" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="material-icon-theme:typescript-def" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="material-icon-theme:typescript-def" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--typescript-def]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:typescript-def"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="material-icon-theme:typescript-def"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/material-icon-theme/typescript-def.svg" alt="Typescript Def icon" width="24" height="24">

Related icons in Material Icon Theme

Typescript Def icon in other icon sets

Typescript Def icon FAQ

Is the Typescript Def icon free for commercial use?

Yes. Material Icon Theme icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Typescript Def icon in React?

Install @iconify/react and render <Icon icon="material-icon-theme:typescript-def" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Typescript Def icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-icon-theme/typescript-def.svg" alt="Typescript Def icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Icon Theme icons →