Integrate with Framework
This skill helps users integrate Ignite UI Web Components into their application. It detects the framework or platform in use and loads the appropriate step-by-step integration reference.
Before You Answer
- Choose the package first, then load the framework reference.
- Do not assume every setup flow uses
igniteui-webcomponents.
- If the required package is not present in
package.json, add or install the correct Ignite UI dependency first. Absence from package.json does not mean the package is invalid.
Package Routing
| Component family |
Package |
| General UI components |
igniteui-webcomponents |
| Advanced grids |
igniteui-webcomponents-grids (trial) @infragistics/igniteui-webcomponents-grids (licensed) |
| Grid Lite |
igniteui-grid-lite |
| Dock Manager |
igniteui-dockmanager (trial) @infragistics/igniteui-dockmanager (licensed) |
| Charts |
igniteui-webcomponents-charts (trial) @infragistics/igniteui-webcomponents-charts (licensed) |
If the request only says "grid", infer the package from the requested features:
- Use
igniteui-webcomponents-grids for editing, paging, sorting, filtering, summaries, grouping, hierarchical data, or pivot features.
- Use
igniteui-grid-lite for lightweight tabular data.
Example Usage
- "How do I use igniteui-webcomponents in my React app?"
- "Integrate the button component in Angular"
- "Set up igniteui-webcomponents in Vue 3"
- "Help me add web components to my vanilla JS project"
Related Skills
When to Use
- User wants to add igniteui-webcomponents to a framework project
- User is experiencing framework-specific integration issues
- User needs help with component imports and registration
- User asks about React, Angular, Vue, or vanilla JS setup
Framework Detection
Before loading a reference, identify the target framework from the project context. Check the following signals in order:
1. Detect React
Evidence to look for:
package.json contains "react" or "react-dom" in dependencies or devDependencies
- Files with
.tsx or .jsx extensions exist in src/
- Entry point imports
ReactDOM or createRoot
vite.config.ts uses @vitejs/plugin-react or @vitejs/plugin-react-swc
→ Load: react.md
2. Detect Angular
Evidence to look for:
package.json contains "@angular/core" in dependencies
angular.json file exists in the workspace root
- Files with
.component.ts, .module.ts, or .component.html patterns exist
- Entry point calls
bootstrapApplication or platformBrowserDynamic
→ Load: angular.md
3. Detect Vue 3
Evidence to look for:
package.json contains "vue" in dependencies or devDependencies
- Files with
.vue extensions exist in src/
vite.config.ts uses @vitejs/plugin-vue
- Entry point calls
createApp
→ Load: vue.md
4. Vanilla JavaScript / HTML (fallback)
Evidence to look for:
- No major framework found in
package.json
- Plain
.html files reference a <script type="module">
- Entry point is a plain
.js or .ts file with no framework imports
package.json contains "lit" — start with the vanilla JS reference; if using Shadow DOM, follow the Shadow root theming note for grids
- User explicitly asks for vanilla JS, HTML, or LitElement integration
→ Load: vanilla-js.md
If the Framework Cannot Be Determined
Ask the user directly:
"What framework or platform are you using? (React, Angular, Vue 3, Vanilla JS / HTML, or LitElement)"
Then load the matching reference from the options above.
Framework Reference Files
Each reference covers:
- Installation
- Theme import (required for styling)
- Component registration
- Usage examples
- TypeScript support
- Platform-specific considerations
- Common issues and solutions
1---2name: igniteui-wc-integrate-with-framework-23description: Integrate Ignite UI Web Components packages into React, Angular, Vue, or vanilla JS applications with framework-specific configurations4---56# Integrate with Framework78This skill helps users integrate Ignite UI Web Components into their application. It detects the framework or platform in use and loads the appropriate step-by-step integration reference.910## Before You Answer1112- Choose the package first, then load the framework reference.13- Do not assume every setup flow uses `igniteui-webcomponents`.14- If the required package is not present in `package.json`, add or install the correct Ignite UI dependency first. Absence from `package.json` does not mean the package is invalid.1516### Package Routing1718| Component family | Package |19|---|---|20| General UI components | `igniteui-webcomponents` |21| Advanced grids | `igniteui-webcomponents-grids` (trial) `@infragistics/igniteui-webcomponents-grids` (licensed) |22| Grid Lite | `igniteui-grid-lite` |23| Dock Manager | `igniteui-dockmanager` (trial) `@infragistics/igniteui-dockmanager` (licensed) |24| Charts | `igniteui-webcomponents-charts` (trial) `@infragistics/igniteui-webcomponents-charts` (licensed) |2526If the request only says "grid", infer the package from the requested features:2728- Use `igniteui-webcomponents-grids` for editing, paging, sorting, filtering, summaries, grouping, hierarchical data, or pivot features.29- Use `igniteui-grid-lite` for lightweight tabular data.3031## Example Usage3233- "How do I use igniteui-webcomponents in my React app?"34- "Integrate the button component in Angular"35- "Set up igniteui-webcomponents in Vue 3"36- "Help me add web components to my vanilla JS project"3738## Related Skills3940- [igniteui-wc-optimize-bundle-size](../igniteui-wc-optimize-bundle-size/SKILL.md) - Reduce bundle size after integration41- [igniteui-wc-customize-component-theme](../igniteui-wc-customize-component-theme/SKILL.md) - Style components after setup4243## When to Use4445- User wants to add igniteui-webcomponents to a framework project46- User is experiencing framework-specific integration issues47- User needs help with component imports and registration48- User asks about React, Angular, Vue, or vanilla JS setup4950---5152## Framework Detection5354Before loading a reference, identify the target framework from the project context. Check the following signals in order:5556### 1. Detect React5758**Evidence to look for:**59- `package.json` contains `"react"` or `"react-dom"` in `dependencies` or `devDependencies`60- Files with `.tsx` or `.jsx` extensions exist in `src/`61- Entry point imports `ReactDOM` or `createRoot`62- `vite.config.ts` uses `@vitejs/plugin-react` or `@vitejs/plugin-react-swc`6364→ **Load:** [react.md](./references/react.md)6566---6768### 2. Detect Angular6970**Evidence to look for:**71- `package.json` contains `"@angular/core"` in `dependencies`72- `angular.json` file exists in the workspace root73- Files with `.component.ts`, `.module.ts`, or `.component.html` patterns exist74- Entry point calls `bootstrapApplication` or `platformBrowserDynamic`7576→ **Load:** [angular.md](./references/angular.md)7778---7980### 3. Detect Vue 38182**Evidence to look for:**83- `package.json` contains `"vue"` in `dependencies` or `devDependencies`84- Files with `.vue` extensions exist in `src/`85- `vite.config.ts` uses `@vitejs/plugin-vue`86- Entry point calls `createApp`8788→ **Load:** [vue.md](./references/vue.md)8990---9192### 4. Vanilla JavaScript / HTML (fallback)9394**Evidence to look for:**95- No major framework found in `package.json`96- Plain `.html` files reference a `<script type="module">`97- Entry point is a plain `.js` or `.ts` file with no framework imports98- `package.json` contains "lit" — start with the vanilla JS reference; if using Shadow DOM, follow the Shadow root theming note for grids99- User explicitly asks for vanilla JS, HTML, or LitElement integration100101→ **Load:** [vanilla-js.md](./references/vanilla-js.md)102103---104105## If the Framework Cannot Be Determined106107Ask the user directly:108109> "What framework or platform are you using? (React, Angular, Vue 3, Vanilla JS / HTML, or LitElement)"110111Then load the matching reference from the options above.112113---114115## Framework Reference Files116117| Framework / Platform | Reference |118|----------------------|-----------|119| React | [react.md](./references/react.md) |120| Angular | [angular.md](./references/angular.md) |121| Vue 3 | [vue.md](./references/vue.md) |122| Vanilla JS / HTML / LitElement | [vanilla-js.md](./references/vanilla-js.md) |123124Each reference covers:125126- Installation127- Theme import (required for styling)128- Component registration129- Usage examples130- TypeScript support131- Platform-specific considerations132- Common issues and solutions133