<GoldRushProvider />

Required component wrapper to configure GoldRush theme and API key.

GoldRushProvider wraps around the application to configure GoldRush components. Properties such as colors, theme, and mode can be added to change how the components look on your application.

Usage

Below is basic implementation of the <GoldRushProvider /> component. You can use this as a starting point for your own implementation.

React
import { GoldRushProvider } from "@covalenthq/goldrush-kit"; export default function CovalentDemo() { return <GoldRushProvider />; }
Name
Type
Description
Properties
apikeystringRequired API key.
themeclassic | neoTheme for GoldRush components.
modedark | lightMode for GoldRush components.
border_radiusnone | small | medium | large | fullBorder radius for GoldRush components.
colorslate | stone | red | orange | amber | yellow | lime | green | emerald | cyan | sky | blue | indigo | violet | purple | fuchsia | pink | roseColors for GoldRush components.
);