formkit / docs-content

The content (.md format) — and only the content — for the FormKit documentation site.
17 stars 28 forks source link

docs(tailwindcss): :memo: Add group variants and new variants #51

Closed fenilli closed 1 year ago

fenilli commented 1 year ago

is using {modifier} the best way to tell it is a variable that the user will create?

justin-schroeder commented 1 year ago

I'm not sure I understand how the group/{modifier} works. Where do you add that exactly?

fenilli commented 1 year ago

As a class to the outerClass, so it syncs with the same modifier variant.

outerClass: group/repeater
labelClass: formkit-invalid/repeater:text-red-500