Scope
Use this skill when adding or updating UI components or shared UI patterns.
Checklist
- •Add reusable components in
lib/web/components(prefercore.exandui.ex). - •Use
~Htemplates,attr/slotdeclarations, and keep assigns explicit. - •Use
<.icon>for icons and<.input>for form fields. - •Keep layout-only concerns in
Web.Layouts(flash group stays there). - •Use Tailwind utility classes; avoid
@applyand avoid external UI kits. - •Provide accessible markup (labels, aria attributes, focus states).
- •Add unique DOM IDs for key elements used in tests.