Icons
Heart icon
Heart icon: A heart with two round lobes and a soft point, beating on a loop and filling solid in the on state.
Using Heart icon
Heart icon uses the inline preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
size | number | 56 | From 16 to 96; step 4 |
stroke | number | 2 | From 1 to 3; step 0.25 |
color | color | #F5C542 | No additional limit in the metadata. |
animate | select | always | Options: hover, always, once, none |
state | select | off | Options: off, on |
Which frameworks are available for Heart icon?
Heart icon is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Heart icon depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Heart icon?
The React source for Heart icon includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Heart icon handle reduced motion?
Heart icon reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.