About

A sample component for your local project.


File system location: components/vf-sample

Variants


Variant: Default beta element

Nunjucks demo

{% render '@vf-sample--default', {
  "component-type": "element",
  "text": "and here is some passed text"
} %}
        

Sample output

I'm a sample and here is some passed text

Sample output as HTML

<p>I'm a sample and here is some passed text</p>
        

Assets


Variant: Another Variant beta element

Nunjucks demo

{% render '@vf-sample--another-variant', {
  "component-type": "element",
  "text": "and some passed text from another variant"
} %}
        

Sample output

I'm a sample and some passed text from another variant

Sample output as HTML

<p>I'm a sample and some passed text from another variant</p>
        

Assets

All components in this design system

This page is part of the components section.