Standard arguments
All Ariadne ViewComponents accept a standard set of options: classes, which match Tailwind CSS classes, and attributes, which match HTML attributes..
Under the hood, any-non class attributes are passed to Rails’ tag
(for self-closing tags) or content_tag
.
Have questions?
Still have questions? Talk to support.