Bottom Sheet Overlay

This post is referring to Vahana 2 (beta version). To check the document for production, please go to vDesigner-v1.0

The bottom sheets are primarily used in the mobile apps. In an app, the bottom sheet is a surface that contains the supplementary content. This content is anchored to the bottom edge of the mobile phone device.

The bottom sheet displays the content after a user performs the related function. For instance:- When you want to share a document with another user, you tap Share on your mobile phone device. After you tap Share, the bottom sheet expands and then displays different instant messaging services and apps to share the document.

The user can expand or reduce the size of the bottom sheet by dragging it with a hand gesture.

You can use three types of bottom sheets in the application as follows:

Bottom Sheet TypeDescriptionScreen Experience
Standard Bottom SheetIt displays the content that complements the screen’s primary content. The advantage of using the standard bottom sheet is that the bottom sheet’s content remains visible while the user accesses the primary content.
Modal Bottom SheetIt serves as an alternative to inline menus or a dialog box to contain and display large amount of content, such as longer description, iconography, and other additional content.
Expandable Botton SheetIt provides small and collapsible surface that the user can expand to access key features.
The expandable bottom sheet offers the combined advantages of standard and modal bottom sheets. 

It provides the persistent access of the standard sheet, in addition to the space and focus of the modal sheet.

In the vDesigner application, you can access the Bottom Sheet Overlay as follows:

Accessing Bottom Sheet Overlay Component

To access the bottom sheet overlay component:

  1. On the vDesigner home page, see the upper tool bar.
  1. On the tool bar, click the Create Page icon (), and a new page is added to the application.
  1. After you add a new page, see its Page Properties panel.
  1. In the Page Properties panel, click Switch to Bottom Sheet, and the Switch to Bottom Sheet dialog box opens.
  2. On the Switch to Bottom Sheet dialog box, click Switch to convert the page into a bottom sheet.

For the bottom sheet, you can configure different properties in the following categories:

  • UI Configuration

These properties are described as follows:

UI Configuration

TabProperty NameDescriptionMandatoryNew Default ValuesVisibility Rules
BasicScrollAfter you click this check box, the scroll bar becomes available with the bottom sheet.NoClear Check box
BasicRotateWhen you click this check box, the screen or related page will have the feature to automatically switch to landscape mode after the user turns his or her device sideways.NoClear Check box
BasicAllow ScreenshotWhen you click this check box, the application will allow the user to take the screen capture of bottom sheet.NoClear Check box
BasicDismissibleAfter you click this check box, the user can close the bottom sheet by tapping the outside of the bottom sheet.NoSelected Check box
UI Properties-StyleStylesAllows you to select a specific style for the bottom sheet from the list of pre-defined styles. The vDesigner module offers pre-defined styles that you can apply to the element.NoDefault
UI Properties-BackgroundPage BackgroundAllows you to define the bottom sheet’s background by providing the following options:
1. Color
2. Image
3. Gradient
NoColor
UI Properties-BackgroundColorClick the left box to define the background color of the bottom sheet.No#FFFFFFWhen Page Background = Color
UI Properties-BackgroundImageAllows you to configure an image as the background of the bottom sheet.No
UI Properties-BackgroundImage SourceThis box comes into view after you select Image in the Page Background list.

To configure an image as the bottom sheet’s background, you can use one of the following options:
–> URL
–> Asset Library
YesWhen Page Background = Image
UI Properties-BackgroundImage URLThis box comes into view after you select URL in the Image Source list. In the Image URL box, enter the URL of an image.

The application fetches the image from the URL-based location and then displays it as the bottom sheet’s background.
YesWhen Image Source = URL
UI Properties-BackgroundSelect AssetThis box becomes visible after you select Assets Library in the Image Source list. This property allows you to configure an image as the element’s background from the Assets Manager module. To configure the image:
–> Click the asset library icon (), and the Select Asset dialog box opens.
–> In the Select Asset dialog box, select an image and then click Select, and you successfully configure the image as the element’s background.
YesWhen Image Source = Asset Library
UI Properties-BackgroundFit TypeProvides the following options to resize the image in the container:
1. Cover:- The image keeps its aspect ratio and fills the available dimensions. The image is clipped to fit in the container.

2. Fill:- With this option, the image is resized to fill the given dimensions. If required, the image is stretched or reduced to fit in the container.

3. Contain:- The image keeps its aspect ratio but is resized to fit in the container.
No
UI Properties-BackgroundInitial HeightAllows you to define the default height of the bottom sheet in percentages or pixels after it expands to display the content as a result of the user’s action. Yes50%
UI Properties-BackgroundMin HeightAllows you to define the minimum height of the bottom sheet in percentages or pixels. This property allows the user to minimize the bottom sheet until the permissible minimum height. Yes25%
UI Properties-BackgroundMax HeightAllows you to define the maximum height of the bottom sheet in percentages. This property allows the user to maximize the bottom sheet until the permissible maximum height. Yes100%
UI Properties-Alignment and SpacingPaddingThis property allows you to define padding around each side of the bottom sheet. It provides four different boxes to define the padding around the right, left, top, and bottom side of the sheet.

The padding specifies the space in pixels around each side of the bottom sheet inside the page border.
No0
UI Properties-Alignment and SpacingBackdropThis property allows you to configure the backdrop filter of the page behind the bottom sheet.No50%
UI Properties-Alignment and SpacingContainer Internal AlignmentAllows you to define the alignment of different elements that you drag to a page.

You can define the alignment of elements across horizontal and vertical axes of the page.

Click the first list to select the alignment across the horizontal axis as follows:
1. Left
2. Center
3. Right


Click the second list to select the alignment across the vertical axis as follows:
1. Top
2. Middle
3. Bottom
4. Space Around
5. Space Between
6. Space Evenly
NoLeft, Top
UI Properties-ShadowColorAllows you to define the color of the bottom sheet’s shadow.No#FFFFFF
UI Properties-ShadowXAllows you to move the element along the X-axis. When the value increases, the element moves towards the right edge of the canvas.No0
UI Properties-ShadowYAllows you to move the element along the Y-axis.

When the value increases, the element moves towards the bottom edge of the canvas.
No0
UI Properties-ShadowSpreadThis property allows you to define the expansion of the shadow from the size of the box. In the Spread box, enter a numeric value to define the expansion of the shadow.No0
UI Properties-ShadowBlurAllows you to impart the blurred effect to the shadow. When you increase the value of the “Blur” property, it will increase the blur effect.No0
Was this article helpful?
YesNo