Skip to main content

Shared Components

A library of reusable React components built with TypeScript and styled with Tailwind CSS.

Overview

This package provides wrapped implementations of shadcn/ui components that are used throughout the Substrate applications. All components are:

  • Type-safe - Full TypeScript support with exported types
  • Accessible - Built with accessibility in mind using Radix UI primitives
  • Customizable - Styled with Tailwind CSS for easy customization
  • Well-tested - Comprehensive test coverage with Jest and React Testing Library

Component Development

Components are developed and documented using Storybook with Vite for fast builds and hot module replacement.