Home page


Hello from mixin-example.pug

mixin param

Mixins are basic functions with params. A mixin can also receive child elements.Use mixins for component-templates or HTML-snippets that requires conditional rendering based on your params.
Getting started with Pug HTML templates
This icon is a reusable reference to the SVG with id="svg-arrow" in the symbol-map (src/templates/partials/svg-map.pug)
To make an SVG inherit the font-color (from the parent element), set the stroke/fill property on the svg to 'currentColor'

Example Component (default)

Example Component (theme-green)

Example Component (theme-red)

'container-fluid' css-class (full width)

Render via Pug-template

  • Jane Doe
  • Josephine Doe
  • John Doe

Render via JavaScript