A comprehensive design system built with Stencil providing web components and framework-specific wrappers for React, Angular, and Vue.
For more detailed instructions, see the Installation & Usage Guide.
# Using npm
npm install @infineon/infineon-design-system-stencil
# Using yarn
yarn add @infineon/infineon-design-system-stencil
# Using pnpm
pnpm add @infineon/infineon-design-system-stencil<script type="module" src="https://cdn.jsdelivr.net/npm/@infineon/infineon-design-system-stencil"></script>
<ifx-button>Click Me</ifx-button>npm install @infineon/infineon-design-system-reactimport { IfxButton } from '@infineon/infineon-design-system-react';
function App() {
return <IfxButton>Click Me</IfxButton>;
}npm install @infineon/infineon-design-system-angularimport { IfxComponentsModule } from '@infineon/infineon-design-system-angular';
@NgModule({
imports: [IfxComponentsModule]
})
export class AppModule {}npm install @infineon/infineon-design-system-vueimport { ComponentLibrary } from '@infineon/infineon-design-system-vue';
app.use(ComponentLibrary);This monorepo contains the following packages:
infineon-design-system-stencil/
βββ packages/
β βββ components/ # Core Stencil component library
β βββ wrapper-react/ # React wrapper
β βββ wrapper-angular/ # Angular wrapper
β βββ wrapper-vue/ # Vue wrapper
βββ examples/
β βββ html-cdn-example/ # HTML with CDN
β βββ html-vite-example/ # HTML with Vite bundler
β βββ react-example/ # React integration example
β βββ angular-standalone-example/ # Angular standalone example
β βββ angular-module-example/ # Angular module example
β βββ vue-example/ # Vue integration example
βββ example-generator/ # Tool for generating examples from stories
For detailed development instructions, see CONTRIBUTING.md.
- Node.js: >= 18.0.0
- pnpm: >= 8.0.0
# Install dependencies
pnpm install
# Build the core components
pnpm run build:components- Storybook (Live Demo) - Interactive component documentation with live examples
- Usage Guide - Detailed usage instructions for all frameworks
- Contributing Guidelines - How to contribute to this project
- Example Generator Architecture - Technical details of the example generator
- Security Policy - Security and vulnerability reporting
- Changelog - Version history and changes
Or run locally:
cd packages/components
pnpm run storybookThe Storybook will be available at http://localhost:6262
All example applications demonstrate real-world usage of the design system:
| Example App | Live Demo | Dev Port | Command |
|---|---|---|---|
| HTML CDN Example | View β | 3001 | pnpm -F html-cdn-example dev |
| HTML Vite Example | View β | 3002 | pnpm -F html-vite-example dev |
| Angular Standalone Example | View β | 3003 | pnpm -F angular-standalone-example dev |
| Angular Module Example | View β | 3004 | pnpm -F angular-module-example dev |
| React Example | View β | 3005 | pnpm -F react-example dev |
| Vue Example | View β | 3006 | pnpm -F vue-example dev |
Each example supports:
dev- Start development serverbuild- Build for productionpreview- Preview production build
We welcome contributions! Please see our Contributing Guidelines for details on:
- Setting up your development environment
- Code standards and best practices
- Submitting pull requests
- Running tests and linting
See LICENSE file for details.
For security concerns, please see our Security Policy.
Email: dds@infineon.com