MCPcopy Index your code
hub / github.com/PaulieScanlon/react-svg-bubble-slider

github.com/PaulieScanlon/react-svg-bubble-slider @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
36 symbols 66 edges 30 files 0 documented · 0% updated 3y ago★ 33
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

React Svg Buobble Slider

SvgBubbleSlider circle-ci npm github-stars npm

SvgBubbleSlider is fun way to add reactions to your blog posts 😃 😠 😥 and comes equipped with 14 built in reactions, but you don't have to use them all, see the icons prop to modify the icons list.

You can access the current reaction via a render prop and use it to post to your back-end of choice.

Click, drag or use your keyboard arrows to explore all the reactions.

demo 👇

react-svg-bubble-slider.netlify.app

Getting Started 🚀

You can install SvgBubbleSlider as a node module via npm or yarn

npm install react-svg-bubble-slider

Usage 🧰

To use SvgBubbleSlider import it and add it to your React component's render method

// some-component.js/.tsx
import React from 'react';

import { SvgBubbleSlider } from 'react-svg-bubble-slider';

const SomeComponent = () => {
  return (



      ...
      <SvgBubbleSlider>
        {({ reaction }) => reaction && <button>{reaction}</button>}
      </SvgBubbleSlider>



  );
};

export default SomeComponent;

If you're using react-svg-bubble-slider in your project i'd love to hear from you @pauliescanlon

ko-fi

Thanks 🙏

Thanks have to go to Chris Gannon for creating the original SVG Bubble Slider

Licence ⚖️

GSAP and all GreenSock files are subject to the standard GreenSock license which can be found at https://greensock.com/standard-license

Extension points exported contracts — how you extend this code

CoreProps (Interface)
(no doc)
react-svg-bubble-slider/src/components/types.ts
IconSetProps (Interface)
(no doc)
react-svg-bubble-slider/src/components/types.ts
ReactionType (Interface)
(no doc)
react-svg-bubble-slider/src/components/types.ts
SvgBubbleSliderProps (Interface)
(no doc)
react-svg-bubble-slider/src/components/types.ts
TimelineProps (Interface)
(no doc)
react-svg-bubble-slider/src/components/types.ts

Core symbols most depended-on inside this repo

handleAnimation
called by 6
react-svg-bubble-slider/src/components/SvgBubbleSlider/Timeline.tsx
createIconPathsMarkup
called by 2
react-svg-bubble-slider/src/components/utils.ts
handleKeydown
called by 1
react-svg-bubble-slider/src/components/SvgBubbleSlider/Timeline.tsx
usage
called by 1
react-svg-bubble-slider/src/_docs/SvgIcon.stories.tsx
SvgIcon
called by 0
react-svg-bubble-slider/src/components/SvgIcon/SvgIcon.tsx
handleDragSlider
called by 0
react-svg-bubble-slider/src/components/SvgBubbleSlider/Timeline.tsx
handleAnimationStart
called by 0
react-svg-bubble-slider/src/components/SvgBubbleSlider/Timeline.tsx
handleAnimationComplete
called by 0
react-svg-bubble-slider/src/components/SvgBubbleSlider/Timeline.tsx

Shape

Function 25
Interface 10
Enum 1

Languages

TypeScript100%

Modules by API surface

react-svg-bubble-slider/src/components/types.ts10 symbols
react-svg-bubble-slider/src/_docs/SvgBubbleSlider.stories.tsx10 symbols
react-svg-bubble-slider/src/_docs/SvgIcon.stories.tsx6 symbols
react-svg-bubble-slider/src/components/SvgBubbleSlider/Timeline.tsx5 symbols
react-svg-bubble-slider/src/components/utils.ts1 symbols
react-svg-bubble-slider/src/components/SvgIcon/SvgIcon.tsx1 symbols
react-svg-bubble-slider/src/components/SvgBubbleSlider/Path.tsx1 symbols
react-svg-bubble-slider/src/_docs/IconCount.js1 symbols
demo/src/pages/404.js1 symbols

For agents

$ claude mcp add react-svg-bubble-slider \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page