Last updated 3 years ago
Was this helpful?
The HTML <figure> tag, implemented in Ruby.
<figure>
This component accepts all the canonical like id or class.
id
class
figure id: "foo", class: "bar" do img path: 'matestack-logo.png', width: 500, height: 300, alt: "logo" end
returns
<figure id="foo" class="bar"> <img src="your-asset-path/matestack-logo.png" width="500" height="300" alt="logo"/> </figure>