Example 1: Basic Rightward Gradient

Hero Section with Gradient

Explanation:

The classes bg-gradient-to-r , from-purple-500 , and to-pink-500 work together.