Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Customize Screen Element and Component Style and Layout

          Customize Screen Element and Component Style and Layout

          Provide a better experience for the users running your flow by customizing the style and layout of your screens. Get the look that you want by changing the style of your entire screen element, or the style of individual components. Make your screen more user-friendly by organizing your screen components into columns by using sections. Also, adjust component width and vertical alignment to control spacing and positioning.

          Required Editions

          View supported editions.
          User Permissions Needed
          To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: Manage Flow

          Style customizations override your org’s or Experience Cloud site’s theme styling. If you enter an invalid value for a style property, the style property is ignored, and the org or Experience Cloud site theme is used.

          Before You Begin

          If you don’t have a screen flow, create one.

          1. Open the Flows list view.
            • From Setup, in the Quick Find box, enter Flows, and then select Flows.
            • From the Automation app, select the Flows tab.
            • From the Flows tab in any Lightning app, click the actions menu and select Open Flow.
          2. Create a screen flow.
            • From the Automation app, click New | Screen Automations | Screen Flow.
            • From Setup, click New Flow | Screen Automations | Screen Flow.
          3. Add a screen element.
            1. Click Plus icon used to add an element or action., and select Screen.
            2. Enter a label, API name, and description.

          Customize a Screen Element's Style

          Set the style of your entire screen element. For example, add a border around your screen.

          1. Click the screen element's header.
            The screen element’s properties panel opens.
          2. Click the Style tab.
          3. Go to the Set Container Style section.
          4. Adjust the properties as needed:
            • Background Color: Sets the background color for the body of the screen.
            • Border Color: Defines the color of the border around the body of the screen.
            • Border Radius: Controls the roundness of the border corners.
            • Border Weight: Adjusts the thickness of the border.

          Customize a Screen Element Header's Style

          Set the style of your screen element's header. For example, change the header font size.

          1. Click the screen element's header.
            The screen element’s properties panel opens.
          2. Click the Style tab
          3. Go to the Set Header Style section.
          4. step
          5. Adjust the properties as needed:
            • Text Color: Sets the color of the text within the header.
            • Font Size: Defines the size of the text within the header.

          Change a Component's Style

          Customize the appearance of some screen components by adjusting colors, borders, and other visual properties to match your design requirements.

          You can customize the styling for these components: Checkbox, Checkbox Group, Currency, Date, Date/Time, Display Text, Number, Long Text Area, Multi-Select Picklist, Password, Picklist, Radio Button, Repeater, Section, and Text.

          1. Add a screen component.
            1. In the Components list, click a component.
              The component properties panel opens.
          2. Click the Style tab.
          3. Go to the Set Styles section.
          4. Adjust the properties as needed. The available options depend on the type of component.
            • Background Color: Sets the background color for the component.
            • Background Color - Selected: Sets the background color for the component when the user selects it.
            • Background Color - Focus: Sets the background color for the component when the user clicks the component or uses the Tab key to move to the component.
            • Border Color: Defines the color of the border around the component.
            • Border Color - Selected: Defines the color of the border around the component when the user selects it.
            • Border Radius: Controls the roundness of the border corners.
            • Border Weight: Adjusts the thickness of the border.
            • Text Color: Sets the color of text within the component.
            • Text Color - Focus: Sets the color of text within the component when the user clicks the component or uses the Tab key to move to the component.
            • Text Color - Hover: Sets the color of text within the component when the user hovers on the component.
            • Minimum Height: The minimum height of the component’s text box.
          5. Save your changes.

          Organize Screen Components and Fields in Columns by Using Sections

          Sections are a great way to organize your components and fields when you want to create a screen layout with one or more columns. You can add up to four columns in a section. The components and fields can occupy as much width as the column they're in allows. You can further adjust the component width and vertical alignment by using the Style tab in the screen properties editor.

          1. Add a section component.
            1. In the Components list, click Section.
              The section component's properties panel opens.
          2. Adjust the column width and, optionally, include a header.
          3. Add screen components to the column.
          4. If necessary, add more columns.
          5. Save your changes.

          Change the Component Width and Vertical Alignment

          A screen has a 12-column layout. The width specifies the number of horizontal grid columns that the screen component or a record field takes up on a screen. For example, a component or field with a width of 8 of 12 columns occupies 66% of the available space in the container. Vertical alignment determines how the component or field is positioned relative to other components or fields on the screen. The default width for components is 12 of 12 (Full Width) and the default vertical alignment is Top.

          1. Add a screen component.
            1. In the Components list, click a component.
              The component properties panel opens.
          2. Click the Style tab and go to then go to the Set Layout section.
          3. To change the width of the component, from the Width dropdown list, select an option.
            The screen canvas is divided into 12 equal columns. The width of a component is measured by the number of columns that it occupies. For example, if a component's width is set to 3 of 12, it occupies 3 of the 12 columns horizontally or 25% of the available space in the container. The default component width is 12 of 12 (Full Width) or 100% of the available space in the container.
            In the Style tab of the screen properties editor, the number component's width is set to 3 of 12.
          4. To change the vertical alignment of the component, under Vertical Alignment, select Top, Middle, or Bottom.
            The default vertical alignment is Top.
            In the Style tab of the screen properties editor, the number component's Vertical Alignment is set to Top.
          5. Save your changes.
           
          Loading
          Salesforce Help | Article