pcf-react-platform-libraries

Create Power Apps Component Framework controls with React and shared platform libraries.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/pingqLIN/skill-0 --skill pcf-react-platform-libraries
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pcf-react-platform-libraries
Source: https://github.com/pingqLIN/skill-0/tree/main/converted-skills/pcf-react-platform-libraries
Command: npx skills add https://github.com/pingqLIN/skill-0 --skill pcf-react-platform-libraries

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the development of Power Apps Component Framework (PCF) controls by enabling the use of React and platform libraries, reducing bundle sizes and improving performance.

Core Features & Use Cases

  • React Integration: Develop PCF controls using the familiar React framework.
  • Shared Libraries: Leverage shared React and Fluent UI libraries provided by the Power Apps platform.
  • Optimized Performance: Benefit from reduced control bundle sizes and faster runtime rendering.
  • Use Case: Develop a custom data grid component for a model-driven app using React, ensuring a consistent look and feel with the Power Apps Fluent design system and minimizing the deployed package size.

Quick Start

Initialize a new PCF component project using the React framework with the command pac pcf init -n ReactSample -ns SampleNamespace -t field -fw react -npm.

Frequently Asked Questions about pcf-react-platform-libraries

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Power Apps Component Framework controls with React?

To build Power Apps Component Framework controls with React, initialize a project using the pac pcf init command with the -fw react flag. This enables you to develop custom virtual controls using the familiar React framework for model-driven and canvas apps.

Can I use Fluent UI when developing PCF controls for Power Apps?

Yes, you can use Fluent UI when developing PCF controls by leveraging the shared platform libraries provided by the Power Apps platform. This ensures your custom components maintain a consistent look and feel with the Fluent design system.

What is the command to initialize a PCF React component project?

The command to initialize a PCF React component project is `pac pcf init -n ReactSample -ns SampleNamespace -t field -fw react -npm`. This sets up the project structure with the React framework and installs the necessary dependencies.

Do I need shared platform libraries to create virtual controls for model-driven apps?

Yes, utilizing shared platform libraries is required to create optimized virtual controls for model-driven apps. These libraries provide the React and Fluent UI frameworks from the Power Apps platform, which minimizes your deployed package size.

What are the limitations of using shared platform libraries in PCF controls?

When using shared platform libraries in PCF controls, your component is restricted to the specific React and Fluent UI library versions provided by the Power Apps platform runtime. You cannot override these dependencies with custom or updated library versions.