Theme

PlaygroundBeta

  • A drag-and-drop UI builder for prototyping with Paragon components.Visit playground
npm_versionnpm Paragon package page

useToggle

Toggle a boolean value on or off with handlers

const [state, setOn, setOff, toggle] = useToggle(initialState, handlers);

Sample Usage

Any Paragon component or export may be added to the code example.

Basic Usage

Any Paragon component or export may be added to the code example.