Skip to content

StanfordSpezi/spezi-web-design-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

92 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Biodesign Digital Health Spezi Web Design System

Build and Test Deployment codecov DOI

An opinionated, feature-rich kit for rapid application development. Built on modern standards (Radix UI, Tailwind CSS) with sensible defaults, yet with flexible escape hatches to customize deeply when needed.

Overview

Spezi Web Design System is a general-purpose component and utilities library designed to accelerate web application development by providing well-tested, comprehensive, accessible, and type-safe components out of the box. It strikes a balance between opinionated defaults and customization flexibility - enabling developers to focus on building features rather than implementing UI patterns, while maintaining the option to take ownership when needed.

The library enforces a consistent design language, includes robust state management patterns, and provides a comprehensive set of utilities - handling UI complexity behind the scenes.

As part of the broader Spezi Web ecosystem, this library serves as the foundation for building applications that can be extended with specialized packages (like health-specific components) and bootstrapped with the spezi-web-template-application for rapid project setup.

Key Features

  • 40+ Production-Ready Components - Comprehensive library including atoms (Button, Input, Select), molecules (DashboardLayout, ConsentDialog, NotFound, Notifications), and utilities
  • Modern Tech Stack - Built on Radix UI, Tailwind CSS, TypeScript, and React 19
  • Theming Support - Customizable design tokens and theme configuration
  • Well-Tested - High test coverage with Vitest and Testing Library
  • Feature-Rich - Integrated form with validation, data fetching patterns, authentication, application shell, error handling, and more
  • Comprehensive Documentation - Interactive Storybook with live examples
  • Type-Safe - Full TypeScript coverage with strict typing for enhanced developer experience
  • Accessibility First - WCAG-compliant components with built-in keyboard navigation and screen reader support
  • Battle-Tested - Used in production by multiple Stanford projects

Documentation

Spezi Web Ecosystem

Spezi Web Design System is part of a larger ecosystem of tools and packages:

Related Packages

  • spezi-web-configurations - Shared ESLint, Prettier, and TypeScript configurations used across Spezi Web projects (including this library)
  • spezi-web-template-application - Complete application template that combines all Spezi Web packages for rapid project bootstrapping

Used In Production

Real-world Stanford projects using this library:

Refer to them if you need inspiration or guidance on how to use the library in your own projects.

Getting Started

For detailed setup instructions, configuration, and usage examples, see the Getting Started guide.

Why Spezi?

Spezi Web Design System strikes a balance between highly opinionated frameworks and copy-paste patterns. We provide package-based distribution for automatic updates, strong opinions for faster development, and escape hatches when you need deep customization.

Read more about our rationale, comparisons with alternatives, and detailed trade-offs β†’

Technology Stack

Built on modern standards: TypeScript, React 19, Tailwind CSS v4, and Radix UI. Includes integrations with React Hook Form, Zod, TanStack Table, and more.

View complete technology stack and rationale β†’

License

This project is licensed under the MIT License. See Licenses for more information.

Contributors

This project is developed as part of the Stanford Byers Center for Biodesign at Stanford University. See CONTRIBUTORS.md for a full list of all Spezi Web Design System contributors.

Stanford Byers Center for Biodesign Logo Stanford Byers Center for Biodesign Logo

About

Spezi Web Frontend Design System and Reusable Components

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 7

Languages