What the framework provides
PCF gives developers framework APIs for component lifecycle management, contextual data and metadata; server access through the Web API; utility and data formatting methods; device features such as camera, location and microphone; and user experience elements such as dialogs, lookups and full-page rendering. Components can be destroyed and reloaded for performance while preserving state.
Because code components load with the page instead of in a separate frame, they give users a seamless experience, and the same component can be reused across many tables and forms. Developers can also make components available through Marketplace.
How enterprises use code components
For most logic, Power Fx formulas are enough; code components are for interface and integration needs that formulas cannot meet.
- Richer data entry: a slider, dial or other control in place of a plain text column.
- Different views of the same data: a list shown as a map bound to the dataset.
- Reusable building blocks: one component used across apps, tables and forms, deployed with the app in a solution.
- Power Pages: Microsoft also documents using code components in Power Pages.
Governance and licensing
Licensing follows the data and connections a component uses. A code component that connects to external services or data directly from the browser, rather than through connectors, is premium: an app that uses it becomes premium and its users need Power Apps licenses. A component without external connections, used in an app with standard features, keeps the app standard. Developers declare a premium component by listing the external service domains in an external-service-usage node of the manifest.
Microsoft also notes that code components in model-driven apps connected to Dataverse need Power Apps licenses for end users. Review each component for the domains it calls, keep its source under version control, and approve it before it reaches production, the same way a custom connector is reviewed.
Other Power Platform definitions
- What is Agent flow?
- What is Business process flow?
- What is Cloud flow?
- What is Custom connector?
- What is Desktop flow?
- What is Power Fx?
- What is Power Platform admin center?
- What is Power Platform connector?
- What is Power Platform environment?
- What is Power Platform pay-as-you-go plan?
- What is Power Platform pipeline?
- What is Power Platform solution?
- What is Premium connector?
- What is Process mining in Power Automate?
Frequently Asked Questions
What is the Power Apps component framework?
The Power Apps component framework, often called PCF, lets professional developers and app makers create code components for model-driven and canvas apps. These components improve how users work with data on forms, views, dashboards and canvas app screens, for example by replacing a numeric column with a slider or showing a list as a map.
How are code components different from web resources?
Unlike HTML web resources, code components render as part of the same context and load at the same time as the other components on the page, which gives users a seamless experience. They can be reused across tables and forms and bundled into a single solution file to move between environments.
Does using a code component change Power Apps licensing?
It can. A code component that connects to external services or data directly through the browser, not through connectors, is premium, so the app becomes premium and its users need Power Apps licenses. Components without external connections in apps with standard features keep the app standard, and users need at least an Office 365 license. Developers declare premium components in the manifest.
Can PCF components be used on-premises?
No. Microsoft states that the Power Apps component framework is not supported for on-premises environments. Code components are built for Power Apps online, including model-driven and canvas apps, and Microsoft also documents their use in Power Pages. Plan on-premises scenarios without them.
How is a code component deployed?
Developers bundle the HTML, CSS and TypeScript files into a single solution package file, which moves across environments like any other solution. Components can also be made available through Marketplace. Because the component travels in a solution, it follows the same development, test and production path as the app that uses it.
Sources: Power Apps component framework overview for code components (Microsoft Learn, last updated 2026-10-31, read 2026-11-24); Solution concepts with Power Platform (Microsoft Learn, last updated 2025-01-29, read 2026-11-24).
Request a free consultation
Send an inquiry and EPC Group replies to arrange a call. Request a free consultation.
