diff --git a/docs/en/UI/AspNetCore/Tag-Helpers/Navs.md b/docs/en/UI/AspNetCore/Tag-Helpers/Navs.md new file mode 100644 index 0000000000..c7503fa51d --- /dev/null +++ b/docs/en/UI/AspNetCore/Tag-Helpers/Navs.md @@ -0,0 +1,114 @@ +# Navs + +## Introduction + +`abp-nav` is the basic tag helper component derived from bootstrap nav element. + +Basic usage: + +````csharp + + +Active + + +Longer nav link + + +link + + +disabled + + +```` + +## Demo + +See the [navs demo page](https://bootstrap-taghelpers.abp.io/Components/Navs) to see it in action. + +## abp-nav Attributes + +- **nav-style**: The value indicates the positioning and style of the containing items. Should be one of the following values: + * `Default` (default value) + * `Vertical` + * `Pill` + * `PillVertical` +- **align:** The value indicates the alignment of the containing items: + * `Default` (default value) + * `Start` + * `Center` + * `End` + +### abp-nav-bar Attributes + +- **nav-style**: The value indicates the color layout of the base navigation bar. Should be one of the following values: + * `Default` (default value) + * `Dark` + * `Light` + * `Dark_Primary` + * `Dark_Secondary` + * `Dark_Success` + * `Dark_Danger` + * `Dark_Warning` + * `Dark_Info` + * `Dark_Dark` + * `Dark_Link` + * `Light_Primary` + * `Light_Secondary` + * `Light_Success` + * `Light_Danger` + * `Light_Warning` + * `Light_Info` + * `Light_Dark` + * `Light_Link` +- **size:** The value indicates size of the base navigation bar. Should be one of the following values: + * `Default` (default value) + * `Sm` + * `Md` + * `Lg` + * `Xl` + +### abp-nav-item Attributes + +**dropdown**: A value that sets the navigation item to be a dropdown menu if provided. Can be one of the following values: + +* `false` (default value) +* `true` + +Example: + +````csharp + + Navbar + + + + Home (current) + + + Link + + + + + + Dropdown header + Action + Another disabled action + Something else here + + Separated link + + + + + Disabled + + + + Sample Text + + + +````