Think of a beam of light crossing the screen: one color gradually gives way to another. It adds a directional color sweep to buttons, cards, or a hero area.
`colorA` and `colorB` are the two endpoint colors by default; setting `stops` replaces that pair with a multicolor sequence. Increasing `angle` rotates the gradient (default 0°, range 0–360°). `edges` controls what happens beyond the endpoints: stretch, transparency, mirroring, or wrapping.
This layer fills the canvas on its own, so it needs no input beneath it. When placing text or shapes over it, check the contrast against the changing colors; many color stops can make small text harder to read.
When to use
Use it to add depth to buttons or cards, draw attention to a hero area, or blend two brand colors. Avoid placing small text over a strong color transition.