Recommended Libraries

Build from proven libraries instead of evaluating every category from scratch.

State Management

Validation

  • Zod - good default, with strong ecosystem integrations
  • Typebox - use when validation/runtime performance is key
  • Valibot - strong frontend choice when bundle size is constrained

All three support the Standard Schema spec.

Styling

UI Components and Primitives

  • Base UI - preferred modern alternative to Radix-style primitives
  • shadcn/ui - copy/paste components bult on top of Radix/BaseUI with Tailwind
  • Radix UI - accessible low-level primitives (legacy/compatible option)
  • React Aria Components - when accisibility is top priority

Forms

Networking and API Mocks

  • Axios - HTTP client with request/response interceptors
  • Ky - smaller fetch-based HTTP client alternative
  • Mock Service Worker - API mocking in development and tests

Testing

Dates and Time Zones

On this page