This component is distributed with npm. After installing npm, you can install the vf-navigation
with this command.
$ yarn add --dev @visual-framework/vf-navigation
The source files included are written in Sass(scss
). You can point your Sass include-path
at your node_modules
directory and import it like this.
@import "@visual-framework/vf-navigation/index.scss";
Make sure you import Sass requirements along with the modules.
File system location: components/vf-navigation
{% render '@vf-navigation--default', {
"component-type": "block",
"navigation": [
{
"text": "Home",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Download",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Release Notes",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "FAQ",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Help",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Licence",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "About",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Feedback",
"navigation_href": "JavaScript:Void(0);"
}
]
} %}
<nav class="vf-navigation">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Home</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Download</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Release Notes</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Help</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Licence</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Feedback</a>
</li>
</ul>
</nav>
{% render '@vf-navigation--global', {
"component-type": "block",
"navigation": [
{
"text": "services",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "research",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "training",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "about us",
"navigation_href": "JavaScript:Void(0);"
}
],
"classModifier": "global"
} %}
<nav class="vf-navigation vf-navigation--global">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">services</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">research</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">training</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">about us</a>
</li>
</ul>
</nav>
{% render '@vf-navigation--main', {
"component-type": "block",
"navigation": [
{
"text": "Home",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Download",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Release Notes",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "FAQ",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Help",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Licence",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "About",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Feedback",
"navigation_href": "JavaScript:Void(0);"
}
],
"classModifier": "main"
} %}
<nav class="vf-navigation vf-navigation--main">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Home</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Download</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Release Notes</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Help</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Licence</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Feedback</a>
</li>
</ul>
</nav>
{% render '@vf-navigation--main-very-easy', {
"component-type": "block",
"navigation": [
{
"text": "Home",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Download",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Release Notes",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "FAQ",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Help",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Licence",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "About",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Feedback",
"navigation_href": "JavaScript:Void(0);"
}
],
"classModifier": "main",
"global_layout": "very-easy"
} %}
<div class="vf-global-layout--very-easy">
<nav class="vf-navigation vf-navigation--main">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Home</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Download</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Release Notes</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Help</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Licence</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Feedback</a>
</li>
</ul>
</nav>
</div>
{% render '@vf-navigation--main-easy', {
"component-type": "block",
"navigation": [
{
"text": "Home",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Download",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Release Notes",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "FAQ",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Help",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Licence",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "About",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Feedback",
"navigation_href": "JavaScript:Void(0);"
}
],
"classModifier": "main",
"global_layout": "easy"
} %}
<div class="vf-global-layout--easy">
<nav class="vf-navigation vf-navigation--main">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Home</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Download</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Release Notes</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Help</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Licence</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Feedback</a>
</li>
</ul>
</nav>
</div>
{% render '@vf-navigation--main-normal', {
"component-type": "block",
"navigation": [
{
"text": "Home",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Download",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Release Notes",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "FAQ",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Help",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Licence",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "About",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Feedback",
"navigation_href": "JavaScript:Void(0);"
}
],
"classModifier": "main",
"global_layout": "normal"
} %}
<div class="vf-global-layout--normal">
<nav class="vf-navigation vf-navigation--main">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Home</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Download</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Release Notes</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Help</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Licence</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Feedback</a>
</li>
</ul>
</nav>
</div>
{% render '@vf-navigation--main-hard', {
"component-type": "block",
"navigation": [
{
"text": "Home",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Download",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Release Notes",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "FAQ",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Help",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Licence",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "About",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Feedback",
"navigation_href": "JavaScript:Void(0);"
}
],
"classModifier": "main",
"global_layout": "hard",
"global_theme": "primary"
} %}
<div class="vf-global-layout--hard vf-global-theme--primary">
<nav class="vf-navigation vf-navigation--main">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Home</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Download</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Release Notes</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Help</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Licence</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Feedback</a>
</li>
</ul>
</nav>
</div>
{% render '@vf-navigation--main-extreme', {
"component-type": "block",
"navigation": [
{
"text": "Home",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Download",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Release Notes",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "FAQ",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Help",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Licence",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "About",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "Feedback",
"navigation_href": "JavaScript:Void(0);"
}
],
"classModifier": "main",
"global_layout": "extreme"
} %}
<div class="vf-global-layout--extreme">
<nav class="vf-navigation vf-navigation--main">
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Home</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Download</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Release Notes</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">FAQ</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Help</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Licence</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">About</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">Feedback</a>
</li>
</ul>
</nav>
</div>
{% render '@vf-navigation--additional', {
"component-type": "block",
"navigation": [
{
"text": "services",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "research",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "training",
"navigation_href": "JavaScript:Void(0);"
},
{
"text": "about us",
"navigation_href": "JavaScript:Void(0);"
}
],
"heading": "European Bioinformatics Institute",
"classModifier": "additional",
"title": "European Bioinformatics Institute"
} %}
<nav class="vf-navigation vf-navigation--additional">
<h3 class="vf-navigation__heading">European Bioinformatics Institute</h3>
<ul class="vf-navigation__list | vf-list--inline">
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">services</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">research</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">training</a>
</li>
<li class="vf-navigation__item">
<a href="JavaScript:Void(0);" class="vf-navigation__link">about us</a>
</li>
</ul>
</nav>
vf-componenet-rollup
vf-core-components
vf-local-overrides
vf-sample
This page is part of the components section.