1. Icon Monks
  2. Development icons
  3. Variable

Variable icon

The variable icon is a free development icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.

Variable icon, thin weight
Thin
SVG
Variable icon, light weight
Light
SVG
Variable icon, regular weight
Regular
SVG
Variable icon, bold weight
Bold
SVG
Variable icon, fill weight
Fill
SVG
Variable icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the variable icon

Use it to stand for x, code and math. The regular weight is a single path made of 3 shapes. It comes with 3 variants for states and actions: variable minus, variable plus and variable slash.

Pairs well with the brackets round square, function circle and binary icons, which share the “code” theme. Use the same weight for all of them so they read as one set.

When to use the variable icon

It belongs to the development set, made for code, terminals, version control and developer tools. Pair it with the related icons below so a screen stays in one visual style.

Use the variable icon in your code

React

import { Variable } from '@icon-monks/react';

<Variable size={24} />

Vue

<script setup>
import { Variable } from '@icon-monks/vue';
</script>

<Variable :size="24" />

Web component

<icon-monks name="variable" size="24"></icon-monks>

Icon font

<i class="im im-variable"></i>

Flutter

Icon(IconMonks.variable)

SwiftUI

Image(iconMonks: .variable)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Variable

Icon(IconMonks.Regular.Variable, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related development icons

See all 182 development icons

Similar icons in other categories

Questions about the variable icon

Is the variable icon free for commercial use?

Yes. The variable icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.

How do I change the color and size of the variable icon?

The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.

Are there variants of the variable icon?

Yes. The variable icon has 3 variants, including variable minus, variable plus and variable slash. Each one keeps the same base shape and comes in all six weights.

Last updated with version 0.4.3. Release notes