It should be either .autoWidth="${true}" (for a property binding to property autoWidth) or alternatively ?auto-width="${true}" (for a boolean attribute binding to attribute auto-width) instead of ?autoWidth="${true}". Assuming you’re planning to change true to some dynamic binding. Otherwise you could just have auto-width as is without any Lit specific binding syntax.