← Developers

From GIF search to a message.

A small, working chat example powered by @rowix/gifsnap-react. Try it below, then start with the same package in your own app.

Your app, with GIFs.

Local preview · nothing is sent to another person

01 / Find a reaction

Say it with a GIF.

Search the picker, choose a GIF, then press Send. Your message appears here.

Loading GIFs…

    The same React package you can install. Searches use the live GifSnap API; messages stay in this page and clear when you reload.

    Build it in your app.

    Install the React SDK
    npm install @rowix/gifsnap-react
    Attach a GIF to your composer
    import { useState } from "react";
    import { GifPicker } from "@rowix/gifsnap-react";
    import "@rowix/gifsnap-react/styles.css";
    
    export function Composer({ sendMessage }) {
      const [gif, setGif] = useState(null);
      return <>
        <GifPicker onSelect={setGif} />
        {gif && <img src={gif.url} alt={gif.title} width="160" />}
        <button disabled={!gif} onClick={() => {
          sendMessage({ type: "gif", media: gif });
          setGif(null);
        }}>Send GIF</button>
      </>;
    }

    Your app owns message storage and delivery. The example keeps messages locally; it does not include a chat backend.