Rails Tip Jar

Add tip jars to your Rails app. Works with any payment link.

6
Animated Icons
0
Dependencies
Payment Providers

Live Examples

Hover to see the expand effect

Tip Jar
Jar (Default)
Buy Coffee
Coffee
Support
Heart
Rate Us
Star
Donate
Dollar
Tip Me
Hat

Features

Everything you need, nothing you don't

No Payment Code

Payment providers handle all transactions and compliance.

Zero Dependencies

Self-contained with inline styles. Just Rails.

Stimulus.js

Uses Rails' standard JavaScript framework.

Customizable

Control colors, position, animations, and icons.

Responsive

Works on all devices.

Any Provider

Stripe, PayPal, Ko-fi, or any payment link.

Usage

# Gemfile
gem 'rails_tipjar'

# Then run:
# bundle install
# Basic implementation
<%= tip_jar payment_link: 'https://your.payment.link' %>

# With customization
<%= tip_jar 
    payment_link: 'https://your.payment.link',
    icon: :coffee,
    color: '#10b981',
    message: 'Buy me a coffee',
    pulse: true %>

# Modal with multiple amounts
<%= tip_jar 
    payment_links: {
      small: 'https://link.com/5',
      medium: 'https://link.com/10',
      large: 'https://link.com/25'
    },
    modal_title: 'Support Development' %>
Tip Jar