Apollo v.4 Design System
Apollo v.4 is UiPath's open-source design system for building consistent user experiences across all UiPath products.
Table of Contents
โจ Features
- ๐จ Design Tokens - 1300+ icons, comprehensive color system, typography, spacing
- โ๏ธ React Components - Built on Material UI with Apollo theming
- ๐ Tailwind CSS - Modern utility-first styling with shadcn/ui
- ๐ Web Components - Cross-framework components for maximum flexibility
- ๐ TypeScript - Full type safety across all packages
- ๐ Storybook - Interactive component documentation
- ๐ Monorepo - Efficient development with Turborepo and pnpm
๐ฆ Package Dependency Graph
graph RL
React["@uipath/apollo-react<br/>React + Material UI"] -->|requires| Core["@uipath/apollo-core<br/>Design Tokens, Fonts"]
Wind["@uipath/apollo-wind<br/>Tailwind + shadcn/ui"] -->|requires| Core
React -->|requires| Wind
Chat["@uipath/ap-chat<br/>Chat Web Component"] -->|requires| React
React -->|requires| Icons["@uipath/apollo-ui-icons<br/>SVG Icon Set"]
React -->|re-exports| IconsReact["@uipath/apollo-ui-icons-react<br/>React Icon Components"]
IconsReact -->|generated from| Icons
Wind -.->|bundles the icons it uses| IconsReact
Core -->|re-exports<br/>deprecated| Icons
style Core fill:#374151,stroke:#ef4444,stroke-width:3px,color:#fff
style React fill:#1e3a8a,stroke:#3b82f6,stroke-width:3px,color:#fff
style Wind fill:#164e63,stroke:#06b6d4,stroke-width:3px,color:#fff
style Chat fill:#064e3b,stroke:#10b981,stroke-width:3px,color:#fff
style Icons fill:#4c1d95,stroke:#a78bfa,stroke-width:3px,color:#fff
style IconsReact fill:#4c1d95,stroke:#a78bfa,stroke-width:3px,color:#fff
๐ Repository Structure
apollo-ui/
โโโ packages/ # Core + framework packages
โ โโโ apollo-core/ # ๐จ Design tokens, fonts
โ โโโ apollo-ui-icons/ # ๐ผ๏ธ SVG icon set
โ โโโ apollo-ui-icons-react/ # ๐งฉ React icon components
โ โโโ apollo-react/ # โ๏ธ Canvas components, chat, icons, MUI theme
โ โโโ apollo-vertex/ # ๐ Vertex shadcn registry components (private)
โ โโโ apollo-wind/ # ๐ Tailwind + shadcn/ui
โ
โโโ web-packages/ # Cross-framework web components
โ โโโ ap-chat/ # ๐ฌ Chat web component
โ
โโโ apps/ # Demo & development applications
โโโ apollo-vertex/ # ๐ Vertex documentation site and registry
โโโ storybook/ # ๐ Component documentation
๐ฅ Installation
All Apollo packages are published to both npm and GitHub Package Registry for maximum accessibility.
For External Users (npm - Recommended)
No special configuration needed. Just install packages directly:
npm install @uipath/apollo-react
# or
npm install @uipath/apollo-core @uipath/apollo-wind
For Internal UiPath Users (GitHub Package Registry)
If you have .npmrc configured with:
@uipath:registry=https://npm.pkg.github.com
Packages will automatically install from GitHub Package Registry. No changes needed!
Testing PR Previews
To test a feature from an open PR before it's merged:
# Install latest PR preview
npm install @uipath/apollo-react@dev
# Or install specific PR version (from PR comment)
npm install @uipath/apollo-react@5.6.1-pr188.4865fad
Preview versions are published when the dev-packages label is added to a PR. Remove the label to stop publishing on new commits. Packages are deprecated on npm and cleaned up from GitHub Package Registry after the PR is closed or merged.
๐ฆ Packages
Core Foundation
- apollo-core: design tokens and fonts. Framework-agnostic foundation for the design system.
- apollo-ui-icons: 1300+ SVG icons.
@uipath/apollo-core/icons still re-exports these but is deprecated.
- apollo-ui-icons-react: the same icons as React components.
@uipath/apollo-react/icons re-exports them.
Framework Implementations
- apollo-react: Canvas/workflow components, ApChat, icons, Material UI themes (Material UI in maintenance mode)
- apollo-wind: Modern Tailwind CSS + shadcn/ui components (recommended for new development)
Web Components
Framework-agnostic AI chat interface web component for vanilla JS, Vue, Angular, etc.
Note: React users should import ApChat from @uipath/apollo-react instead.
๐จ Live Demos
Explore our components in interactive Storybook environments. The sites are hosted as UiPath Coded Apps on the staging environment:
๐ Documentation
๐ Contributing
Prerequisites
Setup
# Clone and setup
git clone https://github.com/UiPath/apollo-ui.git
cd apollo-ui
pnpm install
# Build packages
pnpm build
# Run Storybook
pnpm storybook:dev
Development Commands
pnpm dev # Watch mode for all packages
pnpm build # Build all packages
pnpm lint # Lint all packages
pnpm test # Run tests
Component Guidelines
When contributing components:
- โ
Follow package naming conventions
- โ
Use design tokens from
@uipath/apollo-core
- โ
Include TypeScript types
- โ
Add Storybook stories
- โ
Write unit tests
- โ
Update package README
See CONTRIBUTING.md for detailed guidelines.
License
MIT ยฉ UiPath