# CSS Gradients
> **New Architecture Only**: CSS gradients require React Native's New Architecture (Fabric). They are not available in the old architecture or Expo Go.
Use CSS gradients with the `experimental_backgroundImage` style property.
## Linear Gradients
```tsx
// Top to bottom
// Left to right
// Diagonal
// Using degrees
```
## Radial Gradients
```tsx
// Circle at center
// Ellipse
// Positioned
```
## Multiple Gradients
Stack multiple gradients by comma-separating them:
```tsx
```
## Common Patterns
### Overlay on Image
```tsx
```
### Frosted Glass Effect
```tsx
```
### Button Gradient
```tsx
Submit
```
## Important Notes
- Do NOT use `expo-linear-gradient` — use CSS gradients instead
- Gradients are strings, not objects
- Use `rgba()` for transparency, or `transparent` keyword
- Color stops use percentages (0%, 50%, 100%)
- Direction keywords: `to top`, `to bottom`, `to left`, `to right`, `to top left`, etc.
- Degree values: `45deg`, `90deg`, `135deg`, etc.