Modern theming API component Power Apps component framework sample
This sample shows use cases with modern theming API capabilities to style your component based on your current app theme. The imported components adhere to the default Power Apps modern theme initially, until you enable modern controls and themes for your app and apply a modern theme.

Compatibility
This sample works for model-driven and canvas apps.
Applies to
Power Apps component framework
Get your own free development tenant by subscribing to Power Apps Developer Plan.
Contributors
This sample was created by the Power Apps component framework team.
Version history
| Version | Date | Comments |
|---|---|---|
| 1.0 | January 18, 2024 | README created |
Prerequisites
Install the Microsoft Power Platform CLI.
Try this sample
Follow the steps in the README.md to generate solutions containing the controls so you can import and try the sample components in your model-driven or canvas app.
Related information
Implementing a modern theming API component
Disclaimer
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.