Building Custom Openers

Unflow makes it easy to start showing content in a matter of minutes with it’s pre-built UnflowBanner component. If you would like to customize the opener element to better match the styling of your app that is possible.

The lower-level UnflowOpener component provides an interface through which each live Screen in your app can be opened. The Opener context is also provided for each Screen so that you can construct engaging previews of your content with the contextual data to match.

The below example shows how child elements can be configured to describe the appearance of each screen Opener within your apps UI:


The onPress function opens the Screen when called. It is provided and must be specified to indicate the element that must be tapped to open the Screen.