Collapse
How to use the Nami Paywall Collapse component
Overview
A collapse is a component that can be expanded to show additional content. This is useful for showing long lists of value props.
A collapse has a header, which can be styled differently based on whether the collapse is open or closed.
A collapse also has a body which can contain a number of components.
Support
Android
✅
3.2.1
iOS
✅
3.2.1
Web
✅
1.5.2
Google TV
❌
Apple TV
❌
FireTV
❌
Roku
❌
Adding a Collapse
Open or create a new Creator-compatible page
Click the plus button next to the Content Section or the component inside Content where you want the collapse.
Select 'Collapse'
Edit Collapse Header Title Text under Collapse > Collapse Header. Change the Content if desired.
Change styling of Collapse (see below for additional steps)
Add content to the Collapse Body. We recommend adding lists or text only. You can drag in existing components on the page, as long as they are supported inside the Collapse. See questions below for more details.
Styling: Collapse with colored rounded border
Edit the Collapse component
Change Border Color
Set Border Width to at least 1
Change Corner Radius of Collapse component
Edit the Collapse Header. Change Corner Radius to the same value.
Edit the Collapse Body. Change Corner Radius to the same value.
Styling: Collapse with transparent background color and colored border
Edit the Collapse component
Change Border Color
Set Border Width to at least 1
Edit the Collapse Header. Change Fill color to Transparent
Edit the Collapse Body. Change Fill color to Transparent
Styling: Change the Collapse Header icons
Find the Collapse Header icon component inside Collapse > Collapse Header
The icon under Appearance is the icon used when the Collapse is closed. Select a new icon from the library.
Click the 'Conditions' tab
Under the 'When
Collapse is Open
' condition, select a new icon from the library
Analytics
The Nami SDK emits analytics events about the Collapse component that you can consume for your own reporting purposes.
See 3rd-Party Analytics for background information.
List of Events
collapsible_drawer_open
collapsible_drawer_close
Frequently Asked Questions
Q: What Components can I put inside a Collapse?
A: All components except for Repeating Product Group, Product Group Toggle, Video and Carousel are supported inside a Collapse
Q: Where can I put a Collapse?
A: Collapse components can only go inside the Content section. They cannot be put inside a Carousel.
Q: How many Collapse components can I have on my page?
A: The page supports multiple Collapse components!
Q: When the page is Launched, will the Collapse be open or closed?
A: By default, all collapse components will be closed when the page is launched.
Last updated