A select component for choosing gradients.
Gradient Select
Dependencies
Framer Motion
Installation
npm install framer-motion
Props
Name | Type | Default | Description |
---|---|---|---|
options | GradientOption[] | [] | Array of options to display in the select. |
value | string | '' | The currently selected value. |
onChange | (value: string) => void | - | Function to call when the selected value changes. |
placeholder | string | '' | Placeholder text to display when no option is selected. |