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

@rippling/apps

v0.5.0

Published

Rippling Apps UI components, design tokens, browser viewer context, and TanStack server authorization middleware.

Readme

@rippling/apps

Build React apps with Rippling UI components, themes, viewer context, and server-side permission helpers. Use @rippling/rippling-sdk for Rippling API access.

You can install this package in your own app without cloning the source repository. UI components work in React hosts; the server middleware integration targets TanStack Start. Installing the package does not provision API credentials, backend resources, or production authentication.

Upgrading an existing app? Read the migration guide for breaking exports, palette changes, and stylesheet behavior.

Install

React 18.3 or 19 and matching ReactDOM are supported. In an existing React app, install:

npm install @rippling/apps @rippling/rippling-sdk

The SDK is a required peer dependency. TanStack Start is an optional peer; install it when using the TanStack server integration. Keep your app's supported framework versions and lockfile consistent.

Render inside the host app

Apps run as micro-apps inside an iframe. The host provides the side navigation and top navigation, so build the content area without duplicating that global shell. Page titles, actions, tabs, and breadcrumbs can belong to the micro-app's own workflow.

Make layouts responsive to the iframe's dimensions and keep app routes inside it. Load styles and set the theme in the iframe document; the host's CSS does not cascade into it. Dialogs and other overlays also render within that document. Verify scrolling, narrow layouts, keyboard focus, and overlays in an iframe as well as during local development.

Render your first component

Import the precompiled CSS once in your app's root module:

import { Button, Field, FieldLabel, Input } from "@rippling/apps/ui";
import "@rippling/apps/ui/styles.css";

export function NameForm() {
  return (
    <form>
      <Field>
        <FieldLabel htmlFor="name">Name</FieldLabel>
        <Input id="name" name="name" required />
      </Field>
      <Button type="submit">Continue</Button>
    </form>
  );
}

Set data-rpl-theme="light" or "dark" on your document's <html> element. Your app owns form submission, validation, and persistence. The stylesheet includes the color themes and Tailwind Preflight; no consumer Tailwind build, separate reset, or package-source scanning is needed. Preflight resets native elements across the document, so check existing host styles when integrating it. For embedded theme roots, render overlays into a portalContainer inside that root.

Before implementing UI, inspect the available components. Use or compose components from @rippling/apps/ui whenever they meet the requirement; do not recreate existing controls. Custom components are for documented capability gaps and should reuse package controls wherever applicable.

Components use Base UI composition (render). See the bundled UI guide, component contracts, examples, and styling guide.

Charts

Use @rippling/apps/charts for a portable ECharts component in ordinary React/TanStack routes. It accepts native options, theme and initialization settings, update settings, and a native instance ref. Applications own data, formatting, layout, event subscriptions, and API operations.

Install echarts@^6.1.0 when using this entrypoint. ECharts is an optional peer; applications that only use other entrypoints do not need to install the engine.

Choose a dataset or table component

Use a Grid variant for datasets, data tables, and record-management lists, even when sorting or filtering is not initially requested. Reserve Table for small, static presentation tables without dataset interactions, such as a few line items within a detail view or a static comparison. Choose by purpose, not row count: a record-management list with five records still uses a Grid variant.

Use the variant that matches your data contract:

| Data | Component from @rippling/apps/ui | | ---------------------------------------------- | ---------------------------------- | | Complete dataset loaded into the browser | Grid | | Application-owned async queries and pagination | ConnectedGrid | | Schema-driven Rippling Custom Object records | CustomObjectGrid |

Use supported cell renderers and actions for domain-specific behavior. See the Grid guide for contracts and examples, and the Custom Object adapter guide for SDK integration. Your app supplies authenticated transport and business authorization.

Some Custom Object capabilities depend on backend availability and consent. Record-detail reads currently require Internal_Testing; installing the UI package does not enable that feature. Check the adapter guide's permissions and limitations before designing a workflow around it.

Public entrypoints

| Import | Purpose | | -------------------------------------- | ---------------------------------------------------------------------------------------------------- | | @rippling/apps/ui | React components, Grid variants, and record-detail UI | | @rippling/apps/ui/styles.css | Precompiled component CSS and color themes | | @rippling/apps/tokens | Theme and palette metadata for tooling | | @rippling/apps/tokens/theme.css | Standalone theme variables when not loading UI CSS | | @rippling/apps/tokens/tailwind.css | Optional Tailwind v4 semantic color mapping | | @rippling/apps/tokens/shadcn.css | Optional shadcn color aliases | | @rippling/apps | ViewerProvider, useViewer, and public viewer types | | @rippling/apps/server | Server request-context validation and permission helpers | | @rippling/apps/custom-objects | Browser-safe mapping, query helpers, and record comments | | @rippling/apps/custom-objects/server | SDK-backed Custom Object adapter | | @rippling/apps/code | Rippling Shiki theme and highlightCode helper (peer: shiki) | | @rippling/apps/charts | React component for the native ECharts engine |

Use the public exports and their TypeScript declarations. Compiled JavaScript and declarations live under dist; raw component TSX is not shipped. The theme guide covers colors and optional Tailwind integration.

Set up a TanStack Start app

Create a TypeScript app with the standard TanStack Start setup, or extend an existing one. Use framework APIs compatible with the versions installed in your app. No Rippling repository checkout or custom template is required.

Give your coding agent these integration requirements:

  1. Install the packages above. Import @rippling/apps/ui/styles.css once in the root and set data-rpl-theme on <html>.
  2. Load project-local .env.local in the server runtime for local development. Keep API tokens server-only; never expose them through client environment variables. Preserve existing supplied values and ignore the file in source control.
  3. Establish request-local server context with viewer: { roleId, companyId, displayName? } and optional api: { baseUrl, accessToken }. roleId is the company-specific role ID. Production context must come from a trusted authenticated host; local configured identity must be restricted to loopback development with origin checks.
  4. At server ingress, use handleRipplingRequest(handler, request, trustedProps) from @rippling/apps/server to validate host-supplied props and pass context.rippling to the TanStack handler. Never construct trusted props from browser claims. Validation checks shape; the host supplies authentication.
  5. Register server-function context validation once through TanStack's global functionMiddleware in src/start.ts, with the matching Register type augmentation. In that middleware, dynamically import requireRequestContext from @rippling/apps/server, validate context.rippling, return 401 for invalid context, and pass the validated value to next. Cover both SSR and browser server-function calls. Arbitrary HTTP routes need their own authentication enforcement.
  6. Add a server function that returns only context.rippling.viewer. Load it in the root route and wrap the route outlet in <ViewerProvider viewer={viewer}> from @rippling/apps. Use useViewer() in components; keep the initial viewer consistent between SSR and hydration.
  7. For API calls, dynamically import @rippling/rippling-sdk inside server handlers and construct a request-local client using baseURL: context.rippling.api.baseUrl and bearerToken: context.rippling.api.accessToken. Handle missing API credentials explicitly. Enforce business authorization on every protected operation; viewer display values and hidden controls do not grant access. Where permission-profile membership is required, enforce the result of getProfileMembership before running the operation.
  8. Verify a direct page load, hydration, and a browser server-function call. Check missing/invalid identity rejection and unauthorized operations. Confirm credentials and full request context are absent from browser bundles, HTML, and serialized results. Use stubs for writes during verification.

Read the bundled identity guide, API reference, and host architecture for the exact context types, helper signatures, and permission behavior. These contracts apply to application-owned starters as well as existing apps. Credentials, API consent, and production host integration must be provisioned separately.

Show a request-function in Custom Apps

A TanStack app hosted as a request-function can opt into Rippling's Custom Apps grid and navigation. Set listed_in_custom_apps: true on the Function record through the Functions API or CLI. The field defaults to false; deploying an app does not opt it in. This field is supported only for functions with type: "request". Ordinary event functions retain their existing behavior and reject this field.

The company must have the functions-request-function-creation feature flag enabled, with the usual Functions entitlement, API scopes, and permissions. Installing @rippling/apps does not enable this feature. Use the CLI context for the company where the app should appear, and inspect the installed commands:

rippling config context list --json
rippling api functions create --help
rippling api functions update --help

To list an existing request-function, save this as custom-app-listing.json:

{
  "listed_in_custom_apps": true
}

Replace <context> and <api_name> with the intended CLI context and Function API name, then update and verify the record:

rippling api functions update \
  --context <context> \
  --function-api-name <api_name> \
  --input custom-app-listing.json \
  --json
rippling api functions get \
  --context <context> \
  --function-api-name <api_name> \
  --json

Check that the response contains "listed_in_custom_apps": true. Use --input for this field; CLI versions may not expose a dedicated flag for it.

For a new request-function, include the field in the creation body. For example, save this as create-function.json, choosing a unique API name in the company:

{
  "name": "Team Workspace",
  "api_name": "team_workspace",
  "type": "request",
  "is_async": false,
  "listed_in_custom_apps": true
}
rippling api functions create \
  --context <context> \
  --input create-function.json \
  --json

Continue with the existing request-function source-upload and managed TanStack deployment flow. Listing is not a deployment option, environment variable, or setting in the app's code. Omitting it from later Function updates preserves the current value; deploying new versions does not reset it. No separate Custom App record or UI creation step is needed.

The app uses the Function's name and a generic icon. Open it at https://app.rippling.com/custom-apps/v2/<api_name>/; nested app paths work under that base path. A listed app can appear before deployment, but displays Not deployed until a ready deployment is available. A failed redeployment keeps the previous working version available.

Visibility follows the request-function's access groups: Use app allows use, Edit app includes Use, and Manage app includes Edit and changing sharing. People with effective Manage access can open access settings from the grid menu or the settings gear inside the app. Existing global Functions requirements still apply to code changes and deployments. Administrator discovery in the grid does not automatically add every app to an administrator's personal navigation.

To remove the app from the grid and navigation, repeat the update with "listed_in_custom_apps": false. This does not delete the Function or its deployments, revoke permissions, or disable existing direct request-function URLs. Listing controls discovery; it is not an authorization boundary.

Shared design skills

The package ships design guidance at @rippling/apps/skills/design/: a skill, focused references, review criteria and versioned catalog.json. Agents can load these files without importing the UI runtime. Read the consumption contract for deterministic snapshots and PR-preview iteration. Application requirements belong in the caller prompt; runtime, authentication and deployment remain with the builder.

Working with a coding agent

Agents do not necessarily discover instructions inside node_modules automatically. Add the following to your app's AGENTS.md, preserving existing instructions (the Rippling scaffold already supplies this pointer):

Before building UI, read node_modules/@rippling/apps/AGENTS.md.

The package instructions route requirements through capability discovery and the relevant component guides before implementation. Developers can describe product requirements without naming components or APIs. Inspect the bundled docs and public declarations for the installed version.

The package guide owns component selection from @rippling/apps/ui, Grid variants, server boundaries, and verification defaults. Your app's guide owns its framework and host configuration. Repository contributor instructions are separate from these consumer rules.

License

Rippling Apps is licensed under the Apache License, Version 2.0, except where otherwise noted. Third-party material retains its applicable license and attribution notices, including the MIT license for adopted shadcn components.