New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

aegis-design

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aegis-design

Aegis Design System

latest
npmnpm
Version
1.2.5
Version published
Maintainers
1
Created
Source

Aegis Design System

Installation

npm install aegis-design

Usage

import { Button } from 'aegis-design';
import 'aegis-design/dist/style.css'; // Import CSS

function App() {
  return (
    <Button variant="primary" size="medium">
      Click me
    </Button>
  );
}

Development Workflow

  • Token Updates: Figma tokens are automatically exported to tokens.json
  • Build Tokens: Run npm run build-tokens to generate CSS variables
  • Component Development: Create components using CSS Modules + BEM
  • Storybook: Document components with npm run storybook
  • Testing: Run tests with npm test

Architecture

  • Design Tokens: Figma export + additional JSON files → CSS custom properties
  • Components: CSS Modules with BEM methodology for styling
  • Type Safety: Full TypeScript support with proper prop types
  • Documentation: Automatic Storybook documentation
  • Testing: Vitest + Testing Library setup

Component creation

  • Create a folder with the necessary files: component, stories and css module.
  • Index.ts file should export the components as default
  • the index.ts in the root of the components/ folder should export all the available components to disponibilize them for external usage.

FAQs

Package last updated on 01 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts