Source: https://nishanth-fern-test.docs-staging.pageloop.ai/mobile/customize-drawer

# Customize Drawer

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

> [!INFO]
>
> 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](/images/c3/2022-11-23_17-10-27-c3b0599c.png)

Expand the following accordions for more details:

**Header**

- Under the **Header** section, edit the Header text, font, font size, font weight, text alignment, text color, and bottom margin. [Add user property](/mobile/personalization) to personalize the experience for your end user. ![header\_drawer](/images/c7/header_drawer-c7c5cbe3.png)
- 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](/images/29/header_action_bar_drawer-297a119d.png)

**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](/mobile/personalization) to personalize the experience for your end user. ![body\_drawer](/images/65/body_drawer-6522e296.png)
- Align the Body text to the top or bottom, add any content block, or delete the Body section using the action bar. ![drawer\_body](/images/2b/drawer_body-2bdc0488.png)

**Divider**

Align the Divider to the top or bottom, add any content block, or delete the Divider using the action bar. ![divider\_drawer](/images/84/divider_drawer-84815b48.png)

**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](/images/e8/media_drawer-e86d175a.png)

> [!INFO]
>
> Whatfix Mobile only supports image formats including .jpg, .png, and .gif. GIF files are supported up to 500 KB, while all other formats are supported up to 100 KB.

- Enable the **CLICK ACTION** toggle to link any action to your image. Clicking the image triggers the action that you configure. ![click\_action](/images/09/click_action-09f9f306.png)
- 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](/images/1a/media_action_bar_drawer-1a765f42.png)

**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](/images/c9/button_drawer-c96bc540.png)
- 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](/mobile/personalization) to personalize the experience for your end user. ![customize\_button\_drawer](/images/2a/customize_button_drawer-2ab1266a.png)

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](/images/72/button_action_bar_drawer-72842919.png)

**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](/images/a8/2023-02-06_16-48-23-a8a9c243.png)

> [!INFO]
>
> Click **Edit** to do the same. ![editiconmobile.png](/images/ec/editiconmobile-ec7269d4.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](/images/47/Mobile_layout-config_drawer-4747d600.png)

> [!INFO]
>
> - [Preview projects on a device](/mobile/preview-projects-on-a-device) before making it live for your end users.
> - After creating and designing the Drawer, click **Publish** to make the Drawer live for your end users. For more information on publishing Whatfix Mobile content, see [Publish Whatfix Mobile content](/mobile/publish-whatfix-content).
