🚀 The Lookbook v2.0 beta is now available! Check out the docs →


Represents a custom tag instance.



Tag name


The raw tag body string


Hash of argument values parsed from the tag body


Hash of options parsed from the tag body

All entries in the tag.args hash are additionally made available as dynamic attributes on the tag object itself:

tag.args[:foo] = "bar"
tag.foo # --> "bar"