Skip to content

Repository files navigation


ripple-zag

Ripple/TSRX adapter for Zag JS state machines

bun add @celados/ripple-zag

Install

bun add @celados/ripple-zag

The package is published to https://npm.celados.com under the @celados scope. Configure registry authentication before installing it. This package is not published to npm.

Usage

import { useMachine, normalizeProps } from "@celados/ripple-zag"

useMachine binds a @zag-js/* machine to Ripple's reactivity; normalizeProps maps Zag's prop objects onto Ripple/TSRX attributes.

Peer dependencies

  • ripple ^0.3.118

Demo

Component demos live in the ripple-explore showcase.

Provenance

Hard fork of anubra266/zag-ripple (MIT, © Abraham Aremu). Renamed to ripple-zag and maintained independently for our own Ripple/TSRX projects; it no longer tracks upstream.

Releasing

See PUBLISHING.md. Bump package.json#version, push to main, and CI tags v${version}.

About

Ripple/TSRX adapter for Zag JS state machines

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages