Skip to main content

FavoriteButton

A button component for toggling a favorite state, typically used for products.

Anchor to filled
filled
boolean

Whether the product is currently favorited

Anchor to onClick
onClick
() => void

Click handler for toggling favorite state


Was this page helpful?