npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tortoise-os/ui

v0.2.0

Published

Magic UI components for TortoiseOS

Readme

@tortoise-os/ui ✨🐢

Magic UI components for TortoiseOS - Beautiful, animated React components powered by Framer Motion

📦 Installation

# bun (recommended)
bun add @tortoise-os/ui

# npm
npm install @tortoise-os/ui

🎨 What's Inside

A collection of 25+ beautifully animated components from Magic UI, optimized for TortoiseOS projects.

🌟 Featured Components

Backgrounds & Effects

  • RetroGrid - Nostalgic retro grid background
  • AnimatedGridPattern - Dynamic grid pattern with animations
  • Particles - Interactive particle effects
  • Ripple - Water ripple effect
  • Meteors - Shooting star effects

Text Animations

  • SparklesText - Text with sparkle effects
  • HyperText - Cyberpunk-style glitch text
  • FadeText - Smooth fade-in text
  • TypingAnimation - Typewriter effect
  • WordRotate - Rotating word carousel

Interactive Components

  • BorderBeam - Animated border glow
  • BlurFade - Smooth blur fade-in
  • MagicCard - Card with magical hover effect
  • Dock - macOS-style dock navigation
  • Orbit - Circular orbit animation

Buttons

  • RainbowButton - Button with rainbow gradient
  • ShimmerButton - Shimmering button effect
  • ShinyButton - Metallic shine button

Other

  • AnimatedBeam - Connecting line animations
  • BentoGrid - Modern bento box layout
  • Marquee - Infinite scroll marquee
  • NumberTicker - Animated number counter
  • AvatarCircles - Stacked avatar circles

🚀 Quick Start

import { SparklesText, RainbowButton, RetroGrid } from '@tortoise-os/ui';

function App() {
  return (
    <div className="relative min-h-screen">
      <RetroGrid />
      <div className="relative z-10">
        <SparklesText text="Welcome to TortoiseOS" />
        <RainbowButton onClick={() => console.log('Clicked!')}>
          Get Started
        </RainbowButton>
      </div>
    </div>
  );
}

📚 Component Examples

Sparkles Text

import { SparklesText } from '@tortoise-os/ui';

<SparklesText
  text="Magical Text"
  colors={{ first: "#9E7AFF", second: "#FE8BBB" }}
/>

Rainbow Button

import { RainbowButton } from '@tortoise-os/ui';

<RainbowButton onClick={handleClick}>
  Click Me!
</RainbowButton>

Retro Grid Background

import { RetroGrid } from '@tortoise-os/ui';

<div className="relative h-screen">
  <RetroGrid />
  <div className="relative z-10">
    {/* Your content */}
  </div>
</div>

Animated Grid Pattern

import { AnimatedGridPattern } from '@tortoise-os/ui';

<AnimatedGridPattern
  numSquares={30}
  maxOpacity={0.1}
  duration={3}
  className="fixed inset-0"
/>

Border Beam

import { BorderBeam } from '@tortoise-os/ui';

<div className="relative rounded-lg border">
  <BorderBeam size={250} duration={12} delay={9} />
  <div className="p-8">Card content</div>
</div>

Number Ticker

import { NumberTicker } from '@tortoise-os/ui';

<NumberTicker
  value={1000000}
  className="text-4xl font-bold"
/>

Dock Navigation

import { Dock } from '@tortoise-os/ui';

<Dock>
  <Dock.Item icon={HomeIcon} href="/" label="Home" />
  <Dock.Item icon={WalletIcon} href="/wallet" label="Wallet" />
  <Dock.Item icon={SwapIcon} href="/swap" label="Swap" />
</Dock>

🎨 Styling

All components are built with:

  • Tailwind CSS - Utility-first styling
  • Framer Motion - Smooth animations
  • CVA - Class variance authority for variants

Required Tailwind Configuration

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      animation: {
        'border-beam': 'border-beam calc(var(--duration)*1s) infinite linear',
        // ... more animations
      },
    },
  },
};

🔧 TypeScript Support

Full TypeScript support with exported types:

import type { SparklesTextProps, BorderBeamProps } from '@tortoise-os/ui';

🎯 Usage in TortoiseOS

Perfect for:

  • Landing pages
  • DeFi dashboards
  • NFT galleries
  • Wallet interfaces
  • Marketing pages

📖 Component API

Common Props

Most components support:

  • className - Tailwind classes
  • style - Inline styles
  • Standard React props

See individual component files in src/components/ for detailed prop types.

🌈 Customization

// Custom colors
<SparklesText
  text="Custom"
  colors={{
    first: "#ff0000",
    second: "#00ff00"
  }}
/>

// Custom animation duration
<BorderBeam duration={20} delay={5} />

// Custom sizing
<Particles className="h-full" quantity={100} />

🤝 Contributing

These components are from Magic UI. For bugs or improvements specific to TortoiseOS integration, open an issue.

📄 License

MIT © TortoiseOS Team

Original components © Magic UI

🔗 Links


Make your Sui dApps magical ✨🐢

Built with Framer Motion, styled with Tailwind CSS.