hextastudio/ui needs your support to stay running 🫶 Help us
3D Globe
A 3D globe animated globe component.
Preview
tsx
import clsx from "clsx";
import { twMerge } from "tailwind-merge";
const cn = (...args: any[]) => {
return twMerge(clsx(args));
};
import createGlobe, { COBEOptions } from "cobe";
import { useCallback, useEffect, useRef } from "react";
import { useSpring } from "react-spring";