# Raathigesh/retoggle

🎨 UI controls as React Hooks to control your component state from outside

Repository: https://github.com/Raathigesh/retoggle
Canonical: https://ross.abutalabs.com/products/retoggle
Homepage: https://retoggle.netlify.com/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2020-07-05T10:08:00+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2859, "days_push": 2250, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1372, forks 26 (observed 2026-08-28T04:04:32.206831+00:00)

## What it is
Retoggle is a collection of React hooks that provide UI controls (knobs) to manipulate component state from outside the component, similar to Storybook Knobs. It includes toggles for text, numbers, booleans, ranges, colors, object editors, logging, and a time-travel state inspector.

## Use cases
- tweak react component state from an external ui panel
- add storybook-knobs-like controls to any react app
- log and inspect component state live while developing
- travel back in time through a variable's state history
- build custom debug toggles for react hooks

## When to choose
- you want lightweight, hook-based state knobs without adopting storybook
- you need quick runtime controls for prototyping react components
- you want a themeable, extensible inspector panel for debugging state

## When to avoid
- you already use storybook and its addons cover your needs
- you need a maintained library - the last release was in 2020
- you need state management for production, not dev tooling

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, state-management, developer-tools
- domain: frontend, web-development, developer-tools
- platform: browser, cross-platform
- tags: react-hooks, storybook-knobs, debugging, component-state, inspector, nodejs

## Member repositories
- Raathigesh/retoggle (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.206831+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:45.097242+00:00, confidence not recorded.
  - readme: https://github.com/Raathigesh/retoggle (fetched 2026-08-28T04:04:32.206831+00:00, sha 7a7fcde50b32)
  - registry_npm: https://registry.npmjs.org/retoggle (fetched 2026-08-29T11:57:38.096135+00:00, sha 3949398a41f6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
