Unable to get this to work

using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using UnityEngine.UI;
    
    public class LerpCards : MonoBehaviour {
        float lerpValue = 0f;
        float increment;
    
       
    
        private void Update()
        {
            increment = 1f / transform.childCount;
    
            Quaternion q1 = Quaternion.AngleAxis(150f, Vector3.forward);
            Quaternion q2 = Quaternion.AngleAxis(30f, Vector3.forward);
    
            foreach (Transform child in transform)
            {
                lerpValue += increment;
                child.rotation = Quaternion.Lerp(q1, q2, lerpValue);
            }
    
        }
    }

If it’s a simple rotation you are trying to achieve, the code is good and should be working. Try reducing the value of the increment to (say) increment = 0.01f/transform.childCount;

The problem maybe that your effect is too fast and it gets finished even before you see it.

If the problem is something else, please try to be more precise and write what you are trying to do and what the problem is… next time

Cheerio!