Documentation
Low-code
Low-code
  • What is Agua?
  • Quick Start
    • AirBnb: Tutorial
      • Component: Button
      • Component: Card
        • Card's Tag
        • Card's Images
        • Card's Info
      • Home Header
        • 1. Banner
        • 2. Divider
        • 3. Desktop Menu
          • 3.1. Site Menu | Elements
          • 3.2. Site Menu | Style
          • 3.3. Search | Elements
          • 3.4. Search | Style
        • 4. Tablet Menu
          • 4.1. Menu | Elements
          • 4.2. Menu | Style
  • Daily Use
    • Basics
      • Initial Setup
      • Project structure
        • .agua folder
      • Project persistence
        • Saving your project
        • Deploy Locally
  • Help and Community
    • Support
    • Latam Community
    • Global Community
Powered by GitBook
On this page
  • Step 1:
  • Size, and Background Color
  • Step 2:
  • Component
  1. Quick Start
  2. AirBnb: Tutorial
  3. Home Header

2. Divider

Build a divider within your Home Screen!

Step 1:

Size, and Background Color

1.1. Set "horizontaldivider" Size:

Width: Fill

Height: 1 px

1.1. Written steps

-Inside the Properties Panel-

A. [Click] the Fill button, inside the Width section:

  • The horizontal size of the Div will be the 100% of the screen.

  • You cannot use Fill size in the case there is a parent element in Wrap size.

B. [Click] the Height size container and [type] the new value:

  • You can also change the size value using the up and down arrows.

  • The default Size of a new Div is Fixed, you do not need to change it.

  • The default Unit of Fixed size is Pixels, you do not need to change it.

1.2. Set "horizontaldivider" Background Color:

E0E0E0

1.2. Written steps

-Inside the Properties Panel-

A. [Click] the Background toggle and [click] Fill:

  • Fill allows you to select either a material color or a gradient as background.

B. [Click] Background color and [Type] the desired color:

  • You can type a 6 characters HEX code without the initial #.

Step 2:

Component

2.1. Create Component:

2.1. Written steps

-Inside the Properties Panel-

[Click] the "Create a Component" blue button.

  • You can only create Components out of Divs.

2.2. Define Component Name:

horizontaldivider

2.2. Written steps

-Inside the Create Component Menu-

[Type] the Component name.

  • The default name provided is the name of the Div.

  • You can use either use lowercase, uppercase, numbers or spaces.

Preview component

Previous1. BannerNext3. Desktop Menu

Last updated 1 year ago