using Gtk 4.0; using Adw 1; template $Card: Box { orientation: horizontal; styles ["card"] Image image { icon-name: "image-loading"; } Box contents { orientation: vertical; Label heading { styles ["heading"] } Label body { styles ["body"] } } }