component render with animation