alpha

Explains how to download, build and import the Power Apps component framework sample components so a developer can try them in model-driven or canvas apps.
description: 'How to use and run PCF sample components from the PowerApps-Samples repository'
applyTo: '**/*.{ts,tsx,js,json,xml,pcfproj,csproj}'
All the sample components listed under this section are available to download from [github.com/microsoft/PowerApps-Samples/tree/master/component-framework](https://github.com/microsoft/PowerApps-Samples/tree/master/component-framework) so that you can try them out in your model-driven or canvas apps.
The individual sample component topics under this section provide you an overview of the sample component, its visual appearance, and a link to the complete sample component.
To try the sample components, you must first:
Follow the steps in the [README.md](https://github.com/microsoft/PowerApps-Samples/blob/master/component-framework/README.md) to generate solutions containing the controls so you can import and try the sample components in your model-driven or canvas app.
Use the following steps to import and try the sample components in your model-driven or canvas app.
Download or clone the repository
Open Developer Command Prompt
component-framework folder.developer command prompt in Start to open a developer command prompt.Install dependencies
IncrementControl, and run:npm install
Restore project
msbuild /t:restore
Create solution folder
mkdir IncrementControlSolution
Navigate to solution folder
cd IncrementControlSolution
Initialize solution
pac solution init command:pac solution init --publisher-name powerapps_samples --publisher-prefix sample
Note: This command creates a new file named
IncrementControlSolution.cdsprojin the folder.
Add component reference
pac solution add-reference command with the path set to the location of the .pcfproj file:pac solution add-reference --path ../../IncrementControl
or
pac solution add-reference --path ../../IncrementControl/IncrementControl.pcfproj
Important: Reference the folder that contains the
.pcfprojfile for the control you want to add.
Build the solution
msbuild /t:restore
msbuild /t:rebuild /restore /p:Configuration=Release
msbuild
IncrementControlSolution\bin\debug folder.Import the solution
Add components to apps
The repository contains numerous sample components including:
Each sample demonstrates different aspects of the Power Apps component framework and can serve as a learning resource or starting point for your own components.
© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com


Sea turtle carrying floating film studio island
Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.
image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost
Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.
video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

Cozy Pixel Art Farm Island Village
Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.
image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape
Loading reviews…
Loading comments…