
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@epilot360/illustrations
Advanced tools
A tree-shakable illustration library for the epilot platform. Built with React, TypeScript, and optimized for minimal bundle size.
npm install @epilot360/illustrations
# or
yarn add @epilot360/illustrations
# or
pnpm add @epilot360/illustrations
import { CouponDiscount } from '@epilot360/illustrations';
function App() {
return (
<div>
<CouponDiscount />
</div>
);
}
import { CouponDiscount } from '@epilot360/illustrations';
function App() {
return (
<div>
{/* Using predefined sizes */}
<CouponDiscount size="large" />
{/* Using custom dimensions */}
<CouponDiscount width={200} height={200} />
</div>
);
}
import { CouponDiscount } from '@epilot360/illustrations';
function App() {
return (
<div>
{/* Decorative (hidden from screen readers) */}
<CouponDiscount />
{/* With accessibility label */}
<CouponDiscount
aria-label="20% discount coupon"
/>
</div>
);
}
import { CouponDiscount } from '@epilot360/illustrations';
function App() {
return (
<div>
<CouponDiscount
className="my-custom-class"
style={{
border: '2px solid #e2e8f0',
borderRadius: '8px'
}}
/>
</div>
);
}
A vibrant coupon discount illustration perfect for promotional content and marketing materials.
Props:
size?: 'small' | 'medium' | 'large' - Predefined size variantswidth?: string | number - Custom widthheight?: string | number - Custom heightclassName?: string - Additional CSS classstyle?: React.CSSProperties - Inline stylesaria-label?: string - Accessibility label. If provided, the illustration will be accessible to screen readers. If not provided, the illustration will be decorative (hidden from screen readers).# Install dependencies
npm install
# Start development server for documentation
npm run dev
# Build the library
npm run build:lib
# Build documentation site
npm run build:docs
npm run dev - Start development server for documentationnpm run build:lib - Build the library for distributionnpm run build:docs - Build the documentation sitenpm run dev:bundle - Build and serve SystemJS bundle with Vite (http://localhost:3456)npm run build:bundle - Build SystemJS bundle for microfrontendsnpm run serve:bundle:vite - Serve built bundle with Vite preview servernpm run type-check - Run TypeScript type checkingnpm run lint - Run ESLintnpm run lint:fix - Fix ESLint issuesThis library can be used as a SystemJS bundle in single-spa applications:
# Build and serve the bundle locally
npm run dev:bundle
The bundle will be available at http://localhost:3456/bundle.js with full CORS support.
Import Map Configuration:
{
"imports": {
"@epilot360/illustrations": "http://localhost:3456/bundle.js"
}
}
The bundle uses:
The library is optimized for minimal bundle size:
git checkout -b feature/new-illustrationnpm run lint && npm run type-checkgit commit -m 'Add new illustration'git push origin feature/new-illustrationMIT © Epilot
FAQs
A tree-shakable illustration library for epilot platform
We found that @epilot360/illustrations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 49 open source maintainers collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.