I think 3 days are enough for Dharamshala Which takes three days to explore (McLeodganj, Triund for trekking, Palampur Tea Garden, and Kangra Fort.
Dharamshala has plenty of places to explore and activities to do both within the city and in its neighborhood. You should begin your journey in Dharamshala, which takes three days to explore (McLeodganj, Triund for trekking, Palampur Tea Garden, and Kangra Fort).