Components
Gradient Circle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { GradientCircle } from 'gradient-react';
const MyComponent = () => (
<GradientCircle
color1="#7701cc"
color2="#01a7cc"
width="350px"
height="350px"
styles={{
left: '130px',
top: '300px',
}}
/>
);
Property | Description | Default Value |
---|---|---|
color1 | The color of the circle's center | '#ED0101' |
color2 | The color of the circle's outer edge | '#CC2A01' |
width | The width of the circle | '200px' |
height | The height of the circle | '200px' |
blur | The intensity of the circle's blur | '80' |
styles | CSS styles applied to the container | {} |