Gradient Background
A configurable, positioned gradient blur effect for backgrounds.
Preview
Centered Gradient
Installation
Use the CLI to add this component to your project.
Usage
tsx
13 linesCopy
Examples
Positions
position="left"
position="center"
position="right"
Intensities
intensity="low"
intensity="medium"
intensity="high"
Props
| Prop | Type | Description |
|---|---|---|
position | "left" | "center" | "right" | Horizontal position of the gradient blob (default: 'center'). |
intensity | "low" | "medium" | "high" | Opacity and blur intensity (default: 'medium'). |
className | string | Additional CSS classes |
children | ReactNode | Optional children to render inside the wrapper (though usually this component is used as a background layer). |