A simple component to add the Visual Framework logo to a page. You'll likely want to use this one as a template to add your own logo.
This component is distributed with npm. After installing npm, you can install the vf-logo
with this command.
$ yarn add --dev @visual-framework/vf-logo
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-logo/index.scss";
Make sure you import Sass requirements along with the modules.
File system location: components/vf-logo
{% render '@vf-logo--default', {
"component-type": "element",
"logo_href": "http://www.embl.de",
"logo_text": "Visual Framework 2.0",
"image": "../../assets/vf-logo/assets/logo.svg",
"hidden_text": false
} %}
<a href="http://www.embl.de" class="vf-logo | vf-logo--has-text">
<img class="vf-logo__image" src="../../assets/vf-logo/assets/logo.svg" alt="Visual Framework 2.0">
<span class="vf-logo__text">Visual Framework 2.0</span>
</a>
{% render '@vf-logo--extreme', {
"component-type": "element",
"logo_href": "http://www.embl.de",
"logo_text": "Visual Framework 2.0",
"image": "../../assets/vf-logo/assets/logo.svg",
"override_class": "vf-logo--extreme",
"hidden_text": false
} %}
<a href="http://www.embl.de" class="vf-logo | vf-logo--has-text | vf-logo--extreme">
<img class="vf-logo__image" src="../../assets/vf-logo/assets/logo.svg" alt="Visual Framework 2.0">
<span class="vf-logo__text">Visual Framework 2.0</span>
</a>
{% render '@vf-logo--hidden-text', {
"component-type": "element",
"logo_href": "http://www.embl.de",
"logo_text": "Visual Framework 2.0",
"image": "../../assets/vf-logo/assets/logo.svg",
"hidden_text": true
} %}
<a href="http://www.embl.de" class="vf-logo | vf-logo--has-text">
<img class="vf-logo__image" src="../../assets/vf-logo/assets/logo.svg" alt="Visual Framework 2.0">
<span class="vf-logo__text vf-u-sr-only">Visual Framework 2.0</span>
</a>
{% render '@vf-logo--extreme-with-hidden-text', {
"component-type": "element",
"logo_href": "http://www.embl.de",
"logo_text": "Visual Framework 2.0",
"image": "../../assets/vf-logo/assets/logo.svg",
"override_class": "vf-logo--extreme",
"hidden_text": true
} %}
<a href="http://www.embl.de" class="vf-logo | vf-logo--has-text | vf-logo--extreme">
<img class="vf-logo__image" src="../../assets/vf-logo/assets/logo.svg" alt="Visual Framework 2.0">
<span class="vf-logo__text vf-u-sr-only">Visual Framework 2.0</span>
</a>
vf-componenet-rollup
vf-core-components
vf-local-overrides
vf-sample
This page is part of the components section.