There's no specific way to get animated widgets on iOS 15 - you can simply create an animation and then add it to a widget. To do this, you'll need to use a tool like Adobe After Effects or Apple Motion.