# Navigation

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-0d6efc33e393bd7730041768057a982cd0fc32d2%2Fimage%20(99).png?alt=media" alt=""><figcaption></figcaption></figure>

## Basic

#### Hierarchical Navigation Menu Items

It is a list of menu items defined as the links for the navigation set. These links may be linked mostly with internal elements of the app.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-9681fbc547e6346bacc3093e85a01f5cd90138bd%2Fimage%20(101).png?alt=media" alt=""><figcaption></figcaption></figure>

| Property    | Description                                                                                                                                                             |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Label       | Type the title text to the menu item                                                                                                                                    |
| Prefix Icon | Choose one from the set of icons that will be displayed as a prefix logo, just before the button text.                                                                  |
| Suffix Icon | Choose one from the set of icons that will be displayed as a suffix logo, just after the logo text.                                                                     |
| Hide        | Set whether the link has to be displayed on the screen when the widget is loaded. This shows/hides the item both on desktop and mobile devices.                         |
| Active      | Disable the user interaction with the element on the menu. It visually indicates that the element is inactive and prevents users from interacting with it when applied. |
| On click    | This is triggered when the user clicks on the item. The user can decide which action to execute using the list.                                                         |

## Interaction

#### Disabled

Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-695f356d5e8bc58072102f50922157508eb6122b%2Fimage%20(224).png?alt=media" alt=""><figcaption><p>Read-only</p></figcaption></figure>

#### Hide

This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-4aaa812d0b623487c085a616219a4515138079fb%2Fimage%20(211).png?alt=media" alt="" width="338"><figcaption><p>Set the visibility</p></figcaption></figure>

## Layout

#### Horizontal Alignment

| Property                                                                                                                                                                                                                                       | Layout                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| <img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-9155278c964039f7450ad9178047f477dbad5647%2Fimage%20(102).png?alt=media" alt="" data-size="original"> | `Left` - The menu is attached to the left side of the screen             |
| <img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-6128c57def92bf328a1eacd27a2550d6010a2192%2Fimage%20(103).png?alt=media" alt="" data-size="original"> | `Center` - The menu is placed at the center part of the screen           |
| <img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-694c92027ed5994cf2379efa1b4b7fa0ddaddca6%2Fimage%20(104).png?alt=media" alt="" data-size="original"> | `Right` - The menu is attached to the right side of the screen           |
| <img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-2c90178c4c29960566a4762cf4b8879cd4c779b3%2Fimage%20(105).png?alt=media" alt="" data-size="original"> | Justify - The menu is adjusted and justified to the width of the screen. |

#### Mode

Horizontal - Displays the navigation items next to each other as a horizontal set

Vertical - Displays the navigation items as a list of menu vertically

#### Height

|       |                                             |
| ----- | ------------------------------------------- |
| Auto  | The height is auto-adjusted for the content |
| Fixed | The height of the widget is fixed           |

## Advanced

#### Navigation Logo URL

This is the URL link to an icon image that serves as a logo to the app or the navigation menu, symbolizes the app and purpose.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2Fgit-blob-ef360af6ecf1811e5c07f01922245baee4971620%2Fimage%20(106).png?alt=media" alt=""><figcaption></figcaption></figure>

## Style

<table><thead><tr><th width="218" align="center">Property</th><th>Description</th></tr></thead><tbody><tr><td align="center">Text</td><td>Set the colour of the text. Recommended to set in contrast with the background.</td></tr><tr><td align="center">Accent</td><td><p>An <strong>accent</strong> is a typically bright colour that contrasts with the more utilitarian background and foreground colours within a colour scheme. These are present in the visual style of many platforms (though not all).</p><p>On the web, an accent is sometimes used in input elements for the active portion of the control, for instance, the background of a checked checkbox. <a href="https://developer.mozilla.org/en-US/docs/Glossary/Accent">MSDN web docs</a></p></td></tr><tr><td align="center">Background</td><td>Users can change the colour of the text background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.</td></tr><tr><td align="center">Text Transform</td><td>This property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform">MDN web docs</a></td></tr><tr><td align="center">Text Decoration</td><td>This property sets the appearance of decorative lines on text. Types are "underline", "overline", "line-though", "overline-underline".</td></tr><tr><td align="center">Text Size</td><td>Set the size of the text in px value - 12px</td></tr><tr><td align="center">Text Weight</td><td>Increase or decrease the thickness of the font using the list of numbers from 100-800.</td></tr><tr><td align="center">Font Family</td><td>Type the name of the font family. The reference to the list of font families can be found here: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-family">MDN web docs</a></td></tr><tr><td align="center">Font Style</td><td>There are 3 types of styles that can be applied:<br>"normal" - The text is shown normally, no style applied.<br>"italic" - The text is cursive.<br>"oblique" - A sloped version of the normal text.</td></tr><tr><td align="center">Border Color</td><td>Set the colour to the border lines. The border lines will be shown only if that is enabled.</td></tr><tr><td align="center">Margin</td><td>This value is set in terms of "px" number which creates the space between the border and the content of the widget.</td></tr><tr><td align="center">Padding</td><td>This value is set in terms of "px" number which creates the space between the border and outer elements.</td></tr><tr><td align="center">Border Radius</td><td>This sets the radius of the widget's corners, enabling rounded corners on the widget. This value is defined in "px" terms.</td></tr><tr><td align="center">Border Width</td><td>Set the thickness of the border of the widget using this value. It is defined using "px" terms.</td></tr></tbody></table>
