Skip to content

Function

The function icon represents a reusable block of code, often used in programming and software development.

Add shadcn.io to your AI agent. · Pro It installs Function, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Function icon from Gravity UI Icons
Get Pro

744 in Gravity UI IconsMIT license (opens in a new tab)Free to copy and download

Code

Function in your framework

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

export const FunctionIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16" {...props}>
    <g fill="none"><g clipPath="url(#SVGFd4lJeyK)"><path fill="currentColor" fillRule="evenodd" d="M4.312 4.29a.764.764 0 0 1 1.103-.62a.75.75 0 1 0 .67-1.34a2.264 2.264 0 0 0-3.268 1.836L2.706 5.5H1.75a.75.75 0 0 0 0 1.5h.83l-.392 4.71a.764.764 0 0 1-1.103.62a.75.75 0 0 0-.67 1.34a2.264 2.264 0 0 0 3.268-1.836L4.086 7H5.25a.75.75 0 1 0 0-1.5H4.21zm6.014 2.23a.75.75 0 0 0-1.152.96l.85 1.02l-.85 1.02a.75.75 0 0 0 1.152.96L11 9.672l.674.808a.75.75 0 0 0 1.152-.96l-.85-1.02l.85-1.02a.75.75 0 0 0-1.152-.96L11 7.328zM8.02 4.55a.75.75 0 0 1 .43.969l-.145.378a7.25 7.25 0 0 0 0 5.205l.145.378a.75.75 0 0 1-1.4.539l-.145-.378a8.75 8.75 0 0 1 0-6.282l.145-.378a.75.75 0 0 1 .97-.431m5.961 0a.75.75 0 0 1 .97.43l.145.379a8.75 8.75 0 0 1 0 6.282l-.146.378a.75.75 0 1 1-1.4-.538l.146-.379a7.25 7.25 0 0 0 0-5.205l-.146-.378a.75.75 0 0 1 .431-.97" clipRule="evenodd"/></g><defs><clipPath id="SVGFd4lJeyK"><path fill="currentColor" d="M0 0h16v16H0z"/></clipPath></defs></g>
  </svg>
);

Other libraries

Function in 8 more libraries

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

  • Function icon from Material Symbols
  • Function icon from Material Symbols Light
  • Function icon from Phosphor
  • Function icon from Material Design Icons
  • Function icon from Tabler Icons
  • Function icon from Huge Icons
  • Function icon from Carbon
  • Function icon from Font Awesome 5 Solid

Gravity UI Icons

Icons that share its tags, in the same style.

  • Code icon from Gravity UI Icons
  • Folder Code icon from Gravity UI Icons
  • Round Brackets icon from Gravity UI Icons
  • Curly Brackets Function icon from Gravity UI Icons
  • Curly Brackets icon from Gravity UI Icons
  • Flask icon from Gravity UI Icons
  • Square Brackets icon from Gravity UI Icons
  • Abbr Api icon from Gravity UI Icons
  • Layout Side Content icon from Gravity UI Icons
  • Layout Side Content Left icon from Gravity UI Icons
  • Layout Side Content Right icon from Gravity UI Icons
  • Layout Split Columns icon from Gravity UI Icons
  • Layout Split Columns  3 icon from Gravity UI Icons
  • Layout Split Rows icon from Gravity UI Icons
  • Layout Split Side Content Left icon from Gravity UI Icons
  • Layout Split Side Content Right icon from Gravity UI Icons
  • Layout Tabs icon from Gravity UI Icons
  • Square Brackets Letter A icon from Gravity UI Icons
  • Terminal icon from Gravity UI Icons
  • Terminal Line icon from Gravity UI Icons
  • Wrench icon from Gravity UI Icons
  • Curly Brackets Lock icon from Gravity UI Icons
  • Ellipsis icon from Gravity UI Icons
  • Envelope icon from Gravity UI Icons

Skip the copy and paste. With Pro, your AI agent finds and installs any Gravity UI Icons icon from a prompt.

Get Pro

Tags

Browse by tag

Function is tagged UI, development, software and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Gravity UI Icons MCP, with Pro

Ask for Function or any of 744 Gravity UI Icons 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
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • 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
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • 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
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 Function icon means and where it's used, then how to install, style and license it.

Install Function from a prompt

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

Get Pro