Home / Companies / Netlify / Blog / Post Details
Content Deep Dive

Add Playful Animated SVG Reactions to a Gatsby Blog

Blog post from Netlify

Post Details
Company
Date Published
Author
Paulie Scanlon
Word Count
2,017
Company Posts That Month
19
Language
English
Hacker News Points
-
Post removed?
No
Summary

In this blog post, the author discusses how to add user reactions to Gatsby blog posts using a React UI component called react-svg-bubble-slider. The author explains that adding reactions removes the need for moderation and allows users to choose from a pre-approved set of reactions. They also explain how to get started with integrating react-svg-bubble-slider into a Gatsby project, including importing the component, configuring icons, getting current reaction, mapping over state values, and handling user interaction when buttons are clicked. The author provides an example code snippet that demonstrates this process, which includes storing count values in local state and updating them on button clicks. Finally, they mention using FaunaDB to store reaction counts in a real-world scenario.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 7 671 93 30 +39%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.