Skip to content

Heart

The heart icon represents love or affection, symbolizing a positive emotion or feeling.

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

Set up MCP

Exports at 24 × 24 px

Heart icon from CodeX Icons
Get Pro

78 in CodeX IconsMIT license (opens in a new tab)Free to copy and download

Code

Heart in your framework

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

export const HeartIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <path fill="none" stroke="currentColor" strokeWidth="2" d="M6.6 7.5c-1.325 1.325-1.4 3.1 0 4.8s5.6 5.6 5.6 5.6s4.3-3.9 5.6-5.6s1.325-3.475 0-4.8a3.394 3.394 0 0 0-4.8 0l-.8.8l-.8-.8a3.394 3.394 0 0 0-4.8 0Z"/>
  </svg>
);

Other libraries

Heart in 8 more libraries

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

  • Heart icon from Arcticons
  • Heart icon from Phosphor
  • Heart icon from Material Design Icons
  • Heart icon from Tabler Icons
  • Heart icon from Streamline
  • Heart icon from Health Icons
  • Heart icon from IconPark Outline
  • Heart icon from Myna UI Icons

CodeX Icons

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

  • Dot Circle icon from CodeX Icons
  • Color icon from CodeX Icons
  • Collapse icon from CodeX Icons
  • Gift icon from CodeX Icons
  • Linkedin icon from CodeX Icons
  • List Bulleted icon from CodeX Icons
  • List Numbered icon from CodeX Icons
  • Loader icon from CodeX Icons
  • Marker icon from CodeX Icons
  • Menu icon from CodeX Icons
  • Menu Small icon from CodeX Icons
  • Picture icon from CodeX Icons
  • Play icon from CodeX Icons
  • Plus icon from CodeX Icons
  • Question icon from CodeX Icons
  • Quote icon from CodeX Icons
  • Redo icon from CodeX Icons
  • Remove Background icon from CodeX Icons
  • Replace icon from CodeX Icons
  • User icon from CodeX Icons
  • Etc Horisontal icon from CodeX Icons
  • Etc Vertical icon from CodeX Icons
  • File icon from CodeX Icons
  • Globe icon from CodeX Icons

Search CodeX Icons

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

Get Pro

Tags

Browse by tag

Heart is tagged icon, symbol, emotion and 2 more. Related tags follow; each opens its icons from every library.

Pricing

CodeX Icons MCP, with Pro

Ask for Heart or any of 78 CodeX 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 Heart icon means and where it's used, then how to install, style and license it.

Install Heart from a prompt

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

Get Pro