@ost-cas-fea-25-26/pp-design-system
v2.19.3
Published
<p align="center"> <img src="./src/assets/logo/stacked-gradient.svg" width="120" alt="Mumble Logo" /> </p>
Readme
PP Design System
🚀 Features
- Component library with React, TypeScript & TailwindCSS
- Storybook-based documentation and previews
- Unit tests with Vitest and enforced coverage
- Visual regression tests with Playwright
- Automated CI: linting, building, testing, and publish
- Reusable design system for web applications
🔗 Storybook
Production Storybook
https://pp-design-system.vercel.app/
Preview Deployments (per PR)
Every Pull Request gets a live Storybook preview automatically via Vercel.
✅ Shared via bot comment — no manual setup or tokens required.
Installation (Next.js)
Install and import the styles once (e.g. in app/layout.tsx):
npm install @ost-cas-fea-25-26/pp-design-systemimport "@ost-cas-fea-25-26/pp-design-system/styles";
import { Poppins } from "next/font/google";
const poppins = Poppins({ weight: ["500", "600", "700"] });Importing styles provides the design tokens; use next/font/google to load fonts in Next.js.
🛠️ Development
npm install
npm run dev # Launch Storybook
npm run build:lib # Build library code
npm run build:storybook # Build Storybook static siteUnit Tests
npm run test:unit
npm run test:unit:coverageVisual / E2E Tests
npm run test:e2e # Run Playwright tests
npm run test:e2e:update # Regenerate snapshots via Docker
npm run test:e2e:ui # Playwright UI runner🔧 Tech Stack
| Area | Tool | | -------------- | ------------------------ | | UI Framework | React + TailwindCSS | | Documentation | Storybook (Vite) | | Unit Testing | Vitest + Testing Library | | Visual Testing | Playwright | | Build System | TypeScript + tsc | | Release | Semantic Release | | CI | GitHub Actions |
