Skip to main content

Component Visibility based on User Login Status

In this video tutorial you will understand how to set components visibility based user login status.

1. User Login Status Based Visibility

To enable user login status based visibility, firstly, create a Link for login button. Open the Eye icon of the button and choose the User Login Status and Components Visibility options.

Similarly, update the component's visibility options for the logout button and save.

DrapCode Builder Cards

2. View the Changes

Reload the page to view your changes.

DrapCode Builder Cards

3. Test the Changes

Create a new login and submit it. You will find the Success notification to indicate the changes.

Similarly, you can test the logout button for visibility.

DrapCode Builder Cards