
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
react-ai-orb
Advanced tools
A beautiful, customizable animated orb component for React applications! Perfect for AI interfaces, assistants, interactive chatbots, or anywhere you need a glowing orb.
A beautiful, customizable animated orb component for React applications! Perfect for AI interfaces, assistants, interactive chatbots, or anywhere you need a glowing orb. 🔮✨
Install the package via npm:
npm i react-ai-orb
import { Orb } from "react-ai-orb";
const MyComponent = () => (
return <Orb />
);
The component needs to be imported like this:
"use client";
import { Orb } from "react-ai-orb";
Prop | Type | Default | Description |
---|---|---|---|
palette | OrbPalette | cosmicNebula | Defines the color palette for the orb. Use predefined palettes or create custom ones. |
size | number | 1 | Sets the size of the orb. |
animationSpeedBase | number | 1 | Determines the base speed of the rotation animation. |
animationSpeedHue | number | 1 | Sets the speed of the hue animation. |
hueRotation | number | 120 | Adjusts the hue rotation degree for the orb colors. |
mainOrbHueAnimation | boolean | false | Enables or disables the hue animation on the main orb. |
blobAOpacity | number | 0.3 | Controls the opacity of blob A (range: 0 to 1). |
blobBOpacity | number | 0.8 | Controls the opacity of blob B (range: 0 to 1). |
noShadow | boolean | false | Disables the Orb's shadow when set to true . |
Property | Type | Description |
---|---|---|
mainBgStart | string | The starting color of the orb's main background gradient. |
mainBgEnd | string | The ending color of the orb's main background gradient. |
shadowColor1 | string | The first shadow color applied to the orb. |
shadowColor2 | string | The second shadow color applied to the orb. |
shadowColor3 | string | The third shadow color applied to the orb. |
shadowColor4 | string | The fourth shadow color applied to the orb. |
shapeAStart | string | The starting color of shape A. |
shapeAEnd | string | The ending color of shape A. |
shapeBStart | string | The starting color of shape B. |
shapeBMiddle | string | The middle color of shape B. |
shapeBEnd | string | The ending color of shape B. |
shapeCStart | string | The starting color of shape C. |
shapeCMiddle | string | The middle color of shape C. |
shapeCEnd | string | The ending color of shape C. |
shapeDStart | string | The starting color of shape D. |
shapeDMiddle | string | The middle color of shape D. |
shapeDEnd | string | The ending color of shape D. |
import { Orb, oceanDepthsPreset } from "react-ai-orb";
const MyComponent = () => (
return <Orb {...oceanDepthsPreset} />
);
oceanDepthsPreset
galaxyPreset
caribeanPreset
cherryBlossomPreset
emeraldPreset
multiColorPreset
goldenGlowPreset
npx rollup -c
Feel free to open issues or submit PRs for new features, bug fixes, or documentation improvements.
FAQs
A beautiful, customizable animated orb component for React applications! Perfect for AI interfaces, assistants, interactive chatbots, or anywhere you need a glowing orb.
The npm package react-ai-orb receives a total of 93 weekly downloads. As such, react-ai-orb popularity was classified as not popular.
We found that react-ai-orb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.