Skip to content

Recipes

A recipe is a pattern or strategy, not a code dump. Recipes explain how to think about a common need (forms, multi-step flows, modal patterns, data fetching).

The line:

  • Components — atoms. <Button>, <Dialog>.
  • Blocks — molecules. 30-90 lines of copy-pasteable code.
  • Recipesstrategies. “Here’s how to think about complex forms in helixui.”

Pick whichever level fits the problem you’re solving.

Catalog

RecipeAbout
Forms with react-hook-form + ZodThe canonical helixui form story.
Multi-step wizardsState + transitions + helixui’s Stepper.
Modals and the back stackWhen to use Dialog vs Sheet vs Popover.
Async data + skeletonsSuspense, fallbacks, error boundaries.
Optimistic UIShow the success state before the server confirms.
Keyboard shortcutsComposing CommandPalette + hotkeys.
Theme switching at runtimeWiring HelixUIDNAProvider to user preferences.
Server Actions + helixui formsNext.js / React 19 server actions.