Used attributively before a noun to denote something undertaken for self-promotion or lacking practical value (e.g., "a vanity project").
Definitionen
Undertaken, produced, or appearing chiefly for show, self-promotion, or prestige rather than for practical or commercial value. The actor financed a vanity documentary to highlight his career.