ServiceStack's React Component Library - A comprehensive collection of React components for building modern web applications.
- 🎨 Beautiful UI Components - Pre-styled components with Tailwind CSS
- 🔄 Framework Agnostic Routing - Works with React Router, Next.js, or plain HTML
- ⚡ React 19 Compatible - Full support for React 19 including SSR mode
- 📦 TypeScript Support - Fully typed components and APIs
- 🎯 AutoQuery Integration - Built-in components for ServiceStack AutoQuery APIs
- 🌙 Dark Mode Support - All components support dark mode out of the box
npm install @servicestack/reactThe library supports multiple routing solutions. Choose the one that fits your project:
import { setLinkComponent } from '@servicestack/react'
import { Link } from 'react-router-dom'
setLinkComponent(Link)import { setLinkComponent } from '@servicestack/react'
import Link from 'next/link'
setLinkComponent(Link)No configuration needed! Components will automatically use standard anchor tags.
For detailed setup instructions, see SETUP.md.
VSCode + ESLint + TypeScript
For the best development experience, we recommend:
- ES7+ React/Redux/React-Native snippets
- Built-in TypeScript support in VSCode
See Vite Configuration Reference.
npm installnpm run devnpm run buildCheck out the examples directory for complete setup examples:
- React Router Setup - Vite + React + React Router
- Next.js App Router Setup - Next.js 13+ with App Router
- Next.js Pages Router Setup - Traditional Next.js routing
- No Router Setup - Plain React without routing
For comprehensive documentation, visit docs.servicestack.net/react
This project is licensed under the terms specified in the LICENSE file.