Available npm packages beyond @wiggum/stack core, with when-to-use guidance
Available npm packages beyond @wiggum/stack. All are ESM-verified and cached via the Workbox service worker.
Discovery: Use grep package "<query>" to find the right package for a use case.
Cache management: Use modules list to see cached packages, modules status for cache stats, modules warm <pkg> to pre-cache, modules clear to reset.
Animation orchestration, spring physics, gesture interactions.
import { motion, AnimatePresence, useMotionValue, useSpring } from 'motion/react'
motion/react (NOT )framer-motionForm state management with validation.
import { useForm, useFieldArray, Controller, FormProvider } from 'react-hook-form'
zod + @hookform/resolvers for schema validationTypeScript-first schema validation.
import { z } from 'zod'
Validation resolvers for react-hook-form.
import { zodResolver } from '@hookform/resolvers'
react-hook-form, zodHeadless table with sorting, filtering, pagination, virtual rows.
import { useReactTable, getCoreRowModel, getSortedRowModel, getFilteredRowModel, flexRender } from '@tanstack/react-table'
Drag and drop behaviors.
import { DndContext, useDraggable, useDroppable, closestCenter } from '@dnd-kit/core'
import { SortableContext, useSortable, arrayMove, verticalListSortingStrategy } from '@dnd-kit/sortable'
import { CSS } from '@dnd-kit/utilities'
@dnd-kit/utilities for transform stylesModern date utility library.
import { format, formatDistanceToNow, addDays, differenceInDays, parseISO } from 'date-fns'
Virtualized rendering for large lists.
import { useVirtualizer } from '@tanstack/react-virtual'
7000+ icons with 6 weights (thin to fill).
import { House, GearSix, MagnifyingGlass, CaretDown } from '@phosphor-icons/react'
Typewriter effect for text.
import { TypeAnimation } from 'react-type-animation'
Celebration confetti animation.
import confetti from 'canvas-confetti'
Animated number counters.
import CountUp from 'react-countup'
Command palette component (cmd+K).
import { Command } from 'cmdk'
Drawer component with snap points.
import { Drawer } from 'vaul'
Smooth accessible carousels.
import useEmblaCarousel from 'embla-carousel-react'
Pinterest-style masonry grid layout.
import Masonry from 'react-masonry-css'
Apple-style balanced text wrapping.
import Balancer from 'react-wrap-balancer'
Medium-style image zoom on click.
import Zoom from 'react-medium-image-zoom'
YouTube/Vimeo/file video player.
import ReactPlayer from 'react-player'
QR code generation component.
import { QRCodeSVG, QRCodeCanvas } from 'qrcode.react'
Lightweight state management.
import { create } from 'zustand'
Async state management with caching, retries, optimistic updates.
import { useQuery, useMutation, QueryClient, QueryClientProvider } from '@tanstack/react-query'
Render markdown as React components.
import ReactMarkdown from 'react-markdown'
import remarkGfm from 'remark-gfm'
remark-gfm adds tables, strikethrough, task listsSyntax highlighting for code blocks.
import { Highlight, themes } from 'prism-react-renderer'
framer-motion — use motion/react insteaduseState or useReducer sufficesmoment.js — use date-fns instead