Launched February 11, 2025
Ko-Fi React Library

Ko-Fi React Library

☕ Get tips and donations in your React projects

FreeCodeOpen Source2,969 impressions#14 of its week

Ko-Fi React Library is an open-source collection of customisable React.js components that let you collect donations and tips on your website. Widgets include a tip button, dialog/modal, a floating widget, and donation panel.

React library providing customizable Ko-Fi donation widgets for React apps

for
React developers who want to add tips and donations
pricing
open source
license
open source
Prototypr/react-kofi 22 5JavaScriptupdated 2 years ago
works withReactTailwindCSS

Key features

5 features of Ko-Fi React Library
  • KoFiDialog — Button that opens a modal with the Ko-Fi donation panel
  • KoFiButton — Simple button that opens the Ko-Fi page in a new tab
  • KoFiWidget — Floating Ko-Fi widget attached to the page bottom left
  • KoFiPanel — Full Ko-Fi donation panel as a React component
  • Tailwind support — Works with TailwindCSS and provides optional Tailwind config

Use cases

  • Add a tip button to a personal blog
  • Show a floating donation widget on a portfolio site
  • Open a donation panel in a modal after user interaction

Ko-Fi React Library vs alternatives

Ko-Fi React LibrarySaas UIFlowbiteFloat UI v2Langfuse
Best forKo-Fi widgets for ReactGeneral React UI libraryTailwind UI componentsStartup UI kitLLM app analytics
PricingOpen sourceFreeFreeFreeSubscription
DevHunt upvotes154364489
LaunchedFeb 2025Jan 2023Jan 2024Dec 2023Jan 2023

Ko-Fi React Library FAQ

How do I install the library?+

Run npm install react-kofi and import the components you need.

Do I need TailwindCSS?+

Tailwind is optional; you can use the provided CSS or add Tailwind config for better integration.

Can I customize colors and text?+

Yes, props like color, textColor, label, and radius let you style the widgets.

What is the Ko-Fi ID prop?+

It is your Ko-Fi username from your profile URL, required for the widgets to work.

Is the library open source?+

Yes, the source code is on GitHub under the MIT license.

Summarized by DevHunt from github.com · Sep 29, 2026. Details may change; check the official site.