npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-tally-embed

v3.0.0

Published

Advanced React component to embed Tally.so forms with fullscreen modal, theme support, animations and event hooks.

Readme

react-tally-embed v3

Advanced React component to embed Tally.so forms with fullscreen modal, custom animations, ref-based controls, theme support, and loader.

npm version license

Why use Tally.so?

Tally is a modern, Notion-style form builder used by indie devs, startups, and product teams. Compared to other platforms like Typeform or Google Forms, Tally offers:

  • Unlimited forms and responses (even on the free plan)
  • No branding on most features, unlike Typeform
  • Fast and intuitive interface (like Notion)
  • Custom domains, file uploads, logic jumps in the Pro plan
  • Easy embed options for developers and no-code tools

This makes it perfect for simple, powerful, and affordable form integrations.


Installation

npm install react-tally-embed

Features

  • Fullscreen modal support (no external modal lib required)
  • Ref control: open/close the form programmatically
  • Theme: light or dark mode
  • Custom loader while loading the iframe
  • Event hooks: onOpen, onSubmit, onClose
  • Custom animations: fade, slide

Usage

import { TallyEmbed } from "react-tally-embed";

<TallyEmbed
  formId="your-form-id"
  queryParams={{
    hideTitle: 1,
    transparentBackground: 1,
    dynamicHeight: 1,
  }}
  fullscreen
  theme="dark"
  animation="slide"
  showLoader={true}
  loaderComponent={<div>Loading...</div>}
  onSubmit={() => console.log("Form submitted")}
/>

Pre-filling hidden fields (queryParams)

If your Tally form includes hidden fields, you can pass values directly using queryParams. These will be filled automatically in the form, without being visible to the user.

<TallyEmbed
  formId="your-form-id"
  queryParams={{
    user_id: "oussama-9876",
    ref: "website",
    plan: "pro"
  }}
/>

Ref control (open/close)

import { useRef } from "react";
import { TallyEmbed, TallyEmbedRef } from "react-tally-embed";

const ref = useRef<TallyEmbedRef>(null);

<button onClick={() => ref.current?.open()}>Open Form</button>
<TallyEmbed ref={ref} formId="your-form-id" fullscreen />

Props

| Prop | Type | Default | Description | |-------------------|--------------------------------------|-----------|----------------------------------------------| | formId | string | — | Required. Tally form ID | | height | number | 500 | Height of the iframe (if not dynamic) | | queryParams | Record<string, string | number | boolean> | {} | Optional Tally query parameters | | onOpen | () => void | — | Triggered when form is opened | | onSubmit | () => void | — | Triggered when form is submitted | | onClose | () => void | — | Triggered when form is closed | | fullscreen | boolean | false | Open form in fullscreen overlay | | animation | "fade" | "slide" | fade | Animation style for fullscreen | | showLoader | boolean | false | Show a loader until iframe is ready | | loaderComponent | React.ReactNode | <div>Loading...</div> | Custom loader UI | | theme | "light" | "dark" | light | Color theme for the container |


License

MIT