Skip to content

Variable

The variable icon represents a variable in programming or coding.

Exports at 24 × 24 px

Variable icon from HeroIcons v1 Solid
Get Pro

Code

Variable in your framework

In any framework. Customize it above, and the code follows.

export const VariableIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" {...props}>
    <path fill="currentColor" fillRule="evenodd" d="M4.649 3.084A1 1 0 0 1 5.164 4.4A13.95 13.95 0 0 0 4 10c0 1.993.416 3.886 1.164 5.6a1 1 0 0 1-1.832.8A15.95 15.95 0 0 1 2 10c0-2.274.475-4.44 1.332-6.4a1 1 0 0 1 1.317-.516M12.96 7a3 3 0 0 0-2.342 1.126l-.328.41l-.111-.279A2 2 0 0 0 8.323 7H8a1 1 0 0 0 0 2h.323l.532 1.33l-1.035 1.295a1 1 0 0 1-.781.375H7a1 1 0 1 0 0 2h.039a3 3 0 0 0 2.342-1.126l.328-.41l.111.279A2 2 0 0 0 11.677 14H12a1 1 0 1 0 0-2h-.323l-.532-1.33l1.035-1.295A1 1 0 0 1 12.961 9H13a1 1 0 1 0 0-2zm1.874-2.6a1 1 0 0 1 1.833-.8A15.95 15.95 0 0 1 18 10c0 2.274-.475 4.44-1.332 6.4a1 1 0 1 1-1.832-.8A13.95 13.95 0 0 0 16 10c0-1.993-.416-3.886-1.165-5.6" clipRule="evenodd"/>
  </svg>
);

Other libraries

Variable in 8 more libraries

Each library draws it its own way. Open one to compare.

  • Variable icon from Material Design Icons
  • Variable icon from Tabler Icons
  • Variable icon from Huge Icons
  • Variable icon from Fluent UI MDL2
  • Variable icon from Lucide
  • Variable icon from Siemens Industrial Experience Icons
  • Variable icon from HeroIcons
  • Variable icon from HeroIcons v1 Outline

HeroIcons v1 Solid

Icons that share its tags, then the ones next to it in HeroIcons v1 Solid, in the same style.

  • Code icon from HeroIcons v1 Solid
  • Code Bracket icon from HeroIcons v1 Solid
  • Code Bracket Square icon from HeroIcons v1 Solid
  • Command Line icon from HeroIcons v1 Solid
  • Calculator icon from HeroIcons v1 Solid
  • Filter icon from HeroIcons v1 Solid
  • Wrench icon from HeroIcons v1 Solid
  • Wrench Screwdriver icon from HeroIcons v1 Solid
  • Server Stack icon from HeroIcons v1 Solid
  • Terminal icon from HeroIcons v1 Solid
  • Trash icon from HeroIcons v1 Solid
  • Trending Down icon from HeroIcons v1 Solid
  • Trending Up icon from HeroIcons v1 Solid
  • Truck icon from HeroIcons v1 Solid
  • Upload icon from HeroIcons v1 Solid
  • User icon from HeroIcons v1 Solid
  • User Add icon from HeroIcons v1 Solid
  • User Circle icon from HeroIcons v1 Solid
  • User Group icon from HeroIcons v1 Solid
  • User Plus icon from HeroIcons v1 Solid
  • User Remove icon from HeroIcons v1 Solid
  • Users icon from HeroIcons v1 Solid
  • Video Camera icon from HeroIcons v1 Solid
  • Video Camera Slash icon from HeroIcons v1 Solid

Skip the copy and paste. With Pro, your AI agent finds and installs any HeroIcons v1 Solid icon from a prompt.

Get Pro

Pricing

HeroIcons v1 Solid MCP, with Pro

Ask for Variable or any of 387 HeroIcons v1 Solid icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Page sections in 56 categories, from heroes and pricing tables to dashboards and settings, on every framework and UI library, in your theme.Blocks: All 6,181 blocks
  • Complete Next.js sites for startups, SaaS, agencies and portfolios, every page designed, ready to ship.Templates: All 14 templates
  • Your AI agent searches, previews and installs any component, block, icon or DESIGN.md from a prompt: 22 tools in Claude Code, Cursor, VS Code and 35 more clients.MCP server: 38 AI clients
  • Buttons with motion and states of their own, from an arrow that slides in to a burst of confetti.Animated buttons: All 35 buttons
  • Typewriters, scrambles, counters and more, for headlines, labels and numbers.Text effects: All 97 effects
  • Animated backgrounds for heroes, sections and cards, from a soft aurora to a flock that flees the cursor. Most are pure CSS.Backgrounds: All 100 backgrounds
  • WebGPU shaders, from a slow aurora to a black hole, each drawing only while it's on screen.Shaders: All 100 shaders
  • One design and one theme on all four: the components, blocks and effects are built for each framework.Frameworks: React, Vue, Svelte, Solid
  • React on Base UI, Radix UI, React Aria or Ark UI: install the version for the library your project already uses. Vue, Svelte and Solid run on Ark UI.UI libraries: Base UI, Radix, Aria, Ark
  • From a button to a date picker, a color picker or a guided tour: accessible, typed in TypeScript, each with live demos.Components: All 174 components
  • Real-world patterns built from the components, in 53 galleries: forms, tables, menus, dialogs and more.Examples: All 1,103 examples
  • Area, bar, line, pie, radar and radial charts on TanStack Charts, on every framework. React also gets the Recharts originals.Charts: All 70 charts
  • Debounce, local storage, media queries and more: each hook is one typed file you own.React hooks: All 35 hooks
  • From 222 libraries, Lucide, Heroicons, Tabler and Material Symbols among them, as SVG or a React component in one command.Icons: 294k+ icons
  • Stripe, Linear, Apple and 497 more: a brand's colors, typography and components in one file your AI agent builds from.DESIGN.md files: All 500 brands
  • Restyle every component and block at once: 8 styles, 8 grays, 18 colors and 5 radii, shared as a shadcn preset code.Theme builder: 8 styles × 18 colors
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Variable icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Variable from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro
  • Cancel anytime
  • Keep what you've shipped