An arrangement of vf-summary
in a three-column container.
This component is distributed with npm. After installing npm, you can install the vf-summary-container
with this command.
$ yarn add --dev @visual-framework/vf-summary-container
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-summary-container/index.scss";
Make sure you import Sass requirements along with the modules.
File system location: components/vf-summary-container
{% render '@vf-summary-container--default', {
"component-type": "container",
"section-title": "Learn about Cancer",
"item01": {
"summary__title": "What is Cancer?",
"summary__text": "Cancer is a group of diseases involving abnormal cell growth with the potential to invade or spread to other parts of the body."
},
"item02": {
"summary__title": "Cancer and EMBL",
"summary__text": "EMBL researchers use both computational and traditional lab research to try and understand why cancer happens and how cancer grows and spreads. They can sample and test how tumours and drugs react and find unique molecular data to identify diseases."
},
"item03": {
"summary__title": "What does Cancer look like?",
"summary__text": "Cancer is caused by uncontrolled cell division. These cells are tiny, but but can quickly add up and cancerous cells can look very different from healthy ones."
}
} %}
vf-componenet-rollup
vf-core-components
vf-local-overrides
vf-sample
This page is part of the components section.