Caring about your direct reports and peer relationships is a core management competency.
Do right by your current company and team. Tender at least 4 weeks notice (knowing this gives them additional runway if necessary). Attitude is key-- state that you'll be happy insure to a smooth transition, distribute projects, restructure the team/workload, and put together a knowledge transfer doc. Leave like a pro. Your new employer will likely take note.