Navbar

The top app bar displays information and actions relating to the current screen.

Default - update

To add a navbar we have the component vs-navbar, there is a series of sub components to determine internal elements vs-navbar-title, vs-spacer.

TIP

By default the component has a relative position, if necessary it can be changed by means of css the position as for example: fixed

Hello world

  • Home
  • News
  • Update
  • Input

    You may need an entry in the menu to simply use the vs-input component, for example if you need a search engine.

    Hello world

  • Home
  • News
  • Update
  • Searchsearch

    Type

    If you want you can change the style of the buttons and the navbar by changing the property type

    keyboard_arrow_down

    Type flat

  • Home
  • News
  • Update
  • Color

    You can change the color of the Topbar with the property color. You are able to use the Main Colorsopen in new window or RGB and HEX colors.

    WARNING

    Only RGB and HEX colors are supported.

    Selected Color

    Navbar Color

  • Home
  • News
  • Update
  • Collapse

    This property determines if the component starts hidden and with the option of clicking on the menu to open or saw the options

    Hello world

  • Home
  • News
  • Update
  • API #

    NameTypeParametersDescriptiondefault
    colorStringprimary, success, danger, warning, dark, RGB, HEXColor of the topbar
    text-colorStringprimary, success, danger, warning, dark, RGB, HEXText color items
    active-text-colorStringprimary, success, danger, warning, dark, RGB, HEXText color items active state
    indexStringprimary, success, danger, warning, dark, RGB, HEXDetermines the value of each item that is reflected in it when selecting v-model
    titleSlotSpace to add the menu title (Functionality for resposive)
    collapseBooleanDetermines if the component starts in hidden menu mode that can be opened by clicking on the menufalse