New:Socket for Asana Is Now Available.Learn more
Get Started

@uipath/apollo-core

Package Overview
Dependencies
Maintainers
24
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mini Shai-Hulud" supply chain attack.

Affected versions:

5.9.2
View campaign page

@uipath/apollo-core

Apollo Design System - Core design tokens, icons, and fonts

Source
npmnpm
Version
5.13.1
Version published
Weekly downloads
200
-69.56%
Maintainers
24
Weekly downloads
 
Created
Source

@uipath/apollo-core

Core design tokens and fonts for the Apollo Design System.

Overview

Apollo Core provides the foundational design elements for the UiPath Apollo Design System:

  • Design Tokens: Colors, typography, spacing, shadows, borders, and more
  • Fonts: Typography assets

Installation

npm install @uipath/apollo-core
# or
pnpm add @uipath/apollo-core
# or
yarn add @uipath/apollo-core

Note: This package is published to both npm and GitHub Package Registry. External users will automatically pull from npm. Internal UiPath users with .npmrc configured will automatically pull from GitHub Package Registry.

Usage

Design Tokens

import * as ApolloCore from '@uipath/apollo-core';

// Use design tokens
const primaryColor = ApolloCore.ColorBrandPrimary; // #fa4616
const spacing = ApolloCore.SpacingMd;
const fontFamily = ApolloCore.FontFamilyBase;

CSS Variables

@import '@uipath/apollo-core/tokens/css/theme-variables.css';

.my-component {
  color: var(--color-primary);
  padding: var(--spacing-md);
  font-family: var(--font-family-base);
  background: var(--color-background);
}

Scripts

pnpm build              # Build tokens and fonts, then bundle
pnpm build:tokens       # Build design tokens only
pnpm build:fonts        # Build font stylesheets only

Package Exports

// Main export - design tokens
import * as ApolloCore from '@uipath/apollo-core';

// Tokens only
import * as Tokens from '@uipath/apollo-core/tokens';

// CSS variables
import '@uipath/apollo-core/tokens/css/theme-variables.css';

// Deprecated - moved to @uipath/apollo-ui-icons, removed in the next major
import { iconNames } from '@uipath/apollo-core/icons';
import iconSvg from '@uipath/apollo-core/icons/svg/add.svg';

Icons

The icon set lives in @uipath/apollo-ui-icons. Import from it directly:

import { Close, AddComment } from '@uipath/apollo-ui-icons';
import closeSvg from '@uipath/apollo-ui-icons/svg/close.svg';
import { type IconName, iconNames } from '@uipath/apollo-ui-icons/types';

@uipath/apollo-core/icons and @uipath/apollo-core/icons/svg/* still resolve, re-exporting the package above, but they are deprecated and will be removed in the next major. Migrate to the specifiers shown here.

Framework Packages

Apollo Core is framework-agnostic. For framework-specific components:

  • React: @uipath/apollo-react
  • Tailwind: @uipath/apollo-wind
  • Icons: @uipath/apollo-ui-icons

Directory Structure

apollo-core/
├── src/
│   ├── tokens/           # Design tokens (colors, spacing, etc.)
│   └── fonts/            # Font assets
├── scripts/
│   └── build-tokens.js        # Token generation
└── dist/                 # Built output
    ├── tokens/           # Generated token files (CSS, JSS, LESS, SCSS)
    └── fonts/            # Font files

License

MIT

Keywords

design-system

FAQs

Package last updated on 25 Aug 2026

Related posts