Elements

Button and content helpers for Ractive templates

Available Elements

Use button for Bulma actions and content for rich text blocks.

button

Renders a button by default. If href passes safety checks, it renders as an anchor element.

<button primary large>Primary button</button>
<button outlined>Secondary action</button>
<button href="/docs/getting-started">As link</button>

content

Wrap semantic HTML in Bulma's content styling for CMS output and markdown blocks.

<content>
  <h3>Rich text block</h3>
  <p>Use Bulma content styles around semantic HTML.</p>
  <ul>
    <li>Markdown output</li>
    <li>CMS content</li>
  </ul>
</content>