Components in PowerShell Universal apps are exposed as functions. You can combine built in components to produce your own custom components.
Designer Support
You can include your custom components as part of a module to allow for the designer to present them in the component picker. Parameters will automatically be displayed as properties in the component properties drawer.
Here's an example component the creates a textbox with a red border. It's required to include the Categoryattribute so that PowerShell Universal treats this function as an app component. You will need to define the app/component category and, optionally, a description and display name.
The component will now be available within the designer. Once added, you can adjust the parameters are desired.
Example: People Picker
The below example creates a New-UDPeoplePicker component from existing app components. You can use the New-UDPeoplePicker component in your apps. This function can either be defined within your app directly or within a Module.