Contents

Cancel

Recommended Articles

  1. unify-apps

    Indexing

    Unify AI

    Transform raw content into searchable knowledge through AI-powered indexing and vector embeddings

  2. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  3. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  4. unify-apps

    QuickBooks

    Unify Integrations

    Integrate your app with QuickBooks to streamline accounting, automate invoicing, and manage finances effortlessly

  5. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  6. unify-apps

    Facebook Ads

    Unify Integrations

    Connect your app with Facebook Ads to automate campaign management, optimize ad performance, and track marketing success.

  7. unify-apps

    Snowflake

    Unify Automations

    Connect to Snowflake for fast, scalable cloud data warehousing and analytics

  8. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  9. unify-apps

    BambooHR

    Unify Automations

    Integrate your app with BambooHR to streamline HR management, automate employee data processing, and enhance onboarding workflows

  10. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  11. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

  12. unify-apps

    Microsoft Teams

    Unify Automations

    Connect your app with Microsoft Teams to enhance communication, automate workflows, and foster collaboration across your organization

  13. unify-apps

    Jira

    Unify Automations

    Use Jira to plan, track, and manage your agile and software development projects

  14. unify-apps

    Pre Processing

    Unify AI

    Optimize query processing through intelligent rephrasing, retrieval, and ranking to deliver accurate AI responses

  15. unify-apps

    Google Calendar

    Unify Integrations

    Integrate your app with Google Calendar to streamline scheduling, automate event management, and improve team coordination

#
Unify Applications
Logo
Add Components to your Interface
Logo
Modal

Modal

Logo

5 min READ

Overview

The Modal component allows users to create pop-up dialogs that can display information, prompt user actions, or gather input.

Modals are an essential UI element for creating interactive and dynamic applications.

Configure Card Modal

In the Card Variant, the modal appears on the screen like a card, integrated into the main page.

Users can add components directly within this card-like modal. This variant is particularly useful for displaying smaller, self-contained content and interactions.

You can configure a Card Modal by following the below steps: 

  1. Add Modal from the component list to your canvas. 

    Thumbnail

    Note

    The modal always gets added to the bottom of your component hierarchy.

  2. By default, the added Modal will be of Card Type. You can find it under Variant in the properties section. 

  3. Add Components in Modal like you add in a Card Component in 3 Different Slots of Header, Body & Footer

    Thumbnail

    Refer

    Check Card Component’s article to know in detail about adding components in a card.

    Image
    Image

Configure Page Modal

This variant allows users to select and render an entire page inside the modal.

Users need to navigate to the selected page to create and configure the content that will be displayed within the modal.

Image
Image

Open & Close Modals

Opening & Closing of Modal is defined in the Interaction section. Modal is triggered by the interaction defined in other components. To define opening of a modal, follow the below steps: 

  • Add Interaction: Select a component (e.g., button) that will trigger the modal to open.

  • Configure Interaction: Set the interaction action to "Control Modal".

  • Specify Operation: Choose "Show" or “Hide” to control visibility of the modal when the triggering component is activated.

Image
Image

Thumbnail

Note

You can also define events like On Close where you can mention the actions or workflows that should be performed when the modal is closed, such as resetting forms or updating data.

Appearance Customization

Property

Description

Height

Set the vertical size of the modal to control how much space it occupies on the screen.

Width

Adjust the horizontal size of the modal to fit the desired content width.

Padding

Define the internal space between the content and the modal's border

Height

Sets the overall height of the modal component.

Min-Height

Sets the minimum height of the modal component.

Max-Height

Defines the maximum height the modal component can expand to.

Width

Sets the overall width of the modal component.

Min Width

Specifies the minimum width the tab component can shrink to.

Max Width

Defines the maximum width the tab component can expand to.

Permissions

The Modal component allows you to set visibility permissions based on the permissions granted to the logged-in user. This ensures that only authorized users can view or interact with the modal. 

Thumbnail

Refer

You can refer to Permissions article to know more about defining permissions for each component.


FAQs

Can I add multiple components to a single modal?

Yes, you can add multiple components such as text, images, and charts to different sections (header, body, footer) of the modal.

Can I trigger a modal from another component's interaction?

Yes, you can configure other components like buttons or images to trigger the opening of a modal through the interaction settings.

Can I have different modals triggered by different buttons on the same page? 

Yes, you can configure each button to trigger a different modal using the interaction settings for each button.

How can I make sure only certain users can see or interact with a modal? 

You can set visibility permissions based on user roles or specific permissions granted to logged-in users.

Can I embed forms within a modal?

Yes, you can embed forms within a modal to gather user input. Just add the form components to the modal's body section.