Article 21 binds EU institutions directly, and binds member states whenever they are implementing EU law — it doesn’t replace national anti-discrimination law, but sets a floor beneath it.
Guide
LGBT-relevant resources
Non-discrimination and Article 21: a starter guide
Source: EU4LGBT Resource Hub