Top
Customize Drawer
  • 23 Aug 2024
  • 2 Minutes To Read
  • Dark
    Light
  • PDF

Customize Drawer

  • Dark
    Light
  • PDF

Article summary

After creating a Drawer, customize it based on your requirements.

Whatfix enables you to customize the following in a Drawer:

  • Add Body and Header content
  • Add images and GIFs
  • Add buttons and attach external and deep links
your title goes here

The customization options differ based on the Drawer template you choose.

On the Whatfix Mobile Studio, choose a Drawer template, and then click the Drawer to configure the following:
2022-11-23_17-10-27

Header

  • Under the Header section, edit the Header text, font, font size, font weight, text alignment, text color, and bottom margin. Add user property to personalize the experience for your end user.

    header_drawer

  • Align the Header to the top or bottom, add any content block, or delete the Header section using the action bar.

    header_action_bar_drawer

Body

  • Go to the Body section. Edit the text, change the font, font size, font weight, text alignment, text color, and bottom margin. Add a user property to personalize the experience for your end user.

    body_drawer

  • Align the Body text to the top or bottom, add any content block, or delete the Body section using the action bar.
    drawer_body

Divider

Align the Divider to the top or bottom, add any content block, or delete the Divider using the action bar.
divider_drawer

Media

  • Under the Media section, click the Edit icon to add images to your Drawer from your local drive and then configure the image size, alignment, and bottom margin.
    media_drawer

    your title goes here

    Whatfix Mobile supports .jpg, .png, .gif, and .svg file formats lesser than 100kB.

    • Enable the CLICK ACTION toggle to link any action to your image. Clicking the image triggers the action that you configure.

      click_action

    • Align the Media to the top or bottom, add any content block, or delete the Media section using the action bar.

      media_action_bar_drawer

Buttons

  • Customize the button that appears on your Drawer. You can choose to have one or two buttons, adjust the button width, alignment, height, radius, and the bottom margin.
    button_drawer

  • Click the BUTTON dropdown to customize the individual buttons. Change the button color, stroke of the button outline, text, font family, font size, font weight, and button action. Add a user property to personalize the experience for your end user.
    customize_button_drawer

The following are the Button Actions you can configure:

Button Action Description
Dismiss When the user clicks the button, the Drawer is dismissed from the app screen
External Link When the user clicks the button, they are routed to the URL that is attached to the button
Deep Link When the user clicks the button, they are routed to the app screen within the same app that is attached to the button
  • Align the Buttons to the top or bottom, add any content block, or delete the Buttons using the action bar.
    button_action_bar_drawer

Layout

  1. Click Layout to customize the position of the Drawer to the left or right of your app screen and enable OVERLAY toggle and the Close icon to dismiss the Drawer.
    2023-02-06_16-48-23

    your title goes here

    Click Edit to do the same.
    editiconmobile.png

  • Change the Fill Color of the Overlay and enable your end user to dismiss the Drawer by clicking the Overlay.
  • Change the color of the Drawer template and also customize the position of the Close icon, the button size, the background color, and the color of the icon.

Mobile_layout config_drawer.png

your title goes here

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.