{"_id":"@crazygl/hero-rotating-text-badge","name":"@crazygl/hero-rotating-text-badge","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-rotating-text-badge","version":"0.1.1","description":"Rotating Text Badge — A self-contained rotating sticker badge — text on the rim of a circle, an icon (or your own word) in the middle, next to a heading. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./metadata.json":"./metadata.json","./style.css":"./style.css"},"dependencies":{"@crazygl/core":"^0.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/rotating-text-badge","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-rotating-text-badge.git"},"publishConfig":{"access":"public"},"keywords":["badge","sticker","typography","rotating-text-badge","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-rotating-text-badge/issues"},"gitHead":"66c110b6c9cea8f9e81028043dad49de86b6eab3","_id":"@crazygl/hero-rotating-text-badge@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-rzJJSIHgRHDSOZEkliuB+9fPbaRJk83JE12MO1pbdtq/2gknZsZwEiU1EHbVlGzNtxHqeP2JIW5w8M8FjOYAfA==","shasum":"6c63c899763638b6a9f36212bbf5417d9ed4e9eb","tarball":"https://registry.npmjs.org/@crazygl/hero-rotating-text-badge/-/hero-rotating-text-badge-0.1.1.tgz","fileCount":9,"unpackedSize":30626,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID2kdL5CK77Rdc5p+XWDNLcO0B0S8Lcgbqk9+nGqsN/BAiAIzJ/9aaviPeuK8Nh4lYwagl+i3r4kgzX8hCyeO0z9ow=="}]},"_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"directories":{},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hero-rotating-text-badge_0.1.1_1782922502424_0.3945695466259771"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:15:02.059Z","0.1.1":"2026-07-01T16:15:02.553Z","modified":"2026-07-01T16:15:02.879Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Rotating Text Badge — A self-contained rotating sticker badge — text on the rim of a circle, an icon (or your own word) in the middle, next to a heading. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/rotating-text-badge","keywords":["badge","sticker","typography","rotating-text-badge","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-rotating-text-badge.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-rotating-text-badge/issues"},"license":"Apache-2.0","readme":"<sub>*Hero made by [@ybouane](https://x.com/ybouane).*</sub>\n<p align=\"center\">\n  <img src=\"https://crazygl.com/heroes/hero-rotating-text-badge/banner-full.png\" alt=\"Rotating Text Badge\" width=\"640\">\n</p>\n\n# @crazygl/hero-rotating-text-badge\n\nA self-contained rotating sticker badge — text on the rim of a circle, an icon (or your own word) in the middle, next to a heading.\n\n## Demo\n[Rotating Text Badge](https://crazygl.com/hero/rotating-text-badge)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-rotating-text-badge\n```\n\n## Usage\n\n```tsx\nimport RotatingTextBadge from '@crazygl/hero-rotating-text-badge';\n\nexport default function Hero() {\n  return (\n    <RotatingTextBadge\n      heading=\"new drop\"\n      subheading=\"available now\"\n      badgeText=\"FRESH · DROP · 26 · \"\n      badgeIcon=\"star\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `heading`, `subheading`, `badgeText` (orbits the rim), `badgeIcon` (`star` / `arrow` / `spark` / `none` / any word).\n- **Motion** — `rotationSpeed` (s/turn), `badgeSize`, `badgeTextGap` (rim text inset).\n- **Colours** — `textColor`, `subColor`, `badgeColor`, `badgeTextColor`, `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Product / streetwear drops and limited-edition launches.\n- Promo and announcement banners (\"new\", \"sale\", \"available now\").\n- Playful brand and portfolio hero sections.\n\n\n\nThis hero is part of [CrazyGL](https://crazygl.com), a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready `SKILL.md` file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.\n","readmeFilename":"README.md","_rev":"1-93134e34ca7c4adbe7a0b09224ce0a33"}