Depends on how you build a cleric, but they can easily be frontline or backline. BG3 started us off with the weirder end of Clerics by giving us a low STR/high DEX Cleric that is meant to be more backline, while most people I feel tend to build a cleric as a Melee Weapon and Shield type.