New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@chainplatform/animated

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainplatform/animated

Animation lib from Chain Platform (Bros Chain)

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@chainplatform/animated

Animation lib from Chain Platform (Bros Chain).

DancingText — text animation.

ImageView — Smooth image loading with shimmer or solid placeholder. Supports React Native, React Native Web, and SVG images.

Current npm package version. PRs welcome! Follow @doansan

📦 Installation

npm install @chainplatform/animated
# or
yarn add @chainplatform/animated

🚀 Usage

import { View } from "react-native";
import { DancingText, ImageView } from '@chainplatform/animated';

export default function Home() {

  return (
    <View style={{ flex: 1 }}>
      <DancingText 
        letters={"Chain Platform"}
        textStyle={{
          fontSize: 14,
          fontWeight: "500",
          color: "red"
        }}
      />
      <ImageView
          imageType="link"
          source="https://example.com/logo.png"
          resizeMode="contain"
          placeholderType="shimmer"
          placeholderColor="#f0f0f0"
          shimmerAngle={20}
          shimmerWidth={24}
          shimmerSpeed={1200}
          shimmerIntensity={0.6}
          transitionDuration={300}
          style={{
            width: 120,
            height: 60,
            borderRadius: 8,
            backgroundColor: '#eee',
          }}
          onImageLoaded={() => console.log('Image loaded!')}
        />
    </View>
  );
}

⚙️ DancingText Props

PropTypeDefaultDescription
lettersstringaniamted text
textStyleobjectContainer or image style

⚙️ ImageView Props

PropTypeDefaultDescription
imageType"link" | "local"Image source type
sourcestring | require()Image URL or local file
resizeModestring'cover'React Native Image resize mode
placeholderType"solid" | "shimmer""shimmer"Type of loading placeholder
placeholderColorstring#e0e0e0Background color for placeholder
transitionDurationnumber300Fade-in transition duration
shimmerAnglenumber15Angle of shimmer highlight (in degrees)
shimmerWidthnumber20Width of shimmer band
shimmerSpeednumber1300Animation duration for shimmer loop
shimmerIntensitynumber0.55Brightness of shimmer center
onImageLoaded(loaded: boolean) => voidCallback fired when image finishes loading
styleobjectContainer or image style

💡 Notes

  • Fully compatible with React Native Web.
  • Supports SVG via react-native-svg.
  • Automatically detects SVG format from URL.
  • Animation uses useNativeDriver when possible for smoother performance.

🪪 License

MIT © 2025 Chain Platform

💖 Support & Donate

If you find this package helpful, consider supporting the development:

CryptocurrencyAddress
Bitcoin (BTC)17grbSNSEcEybS1nHh4TGYVodBwT16cWtc
alt text
Ethereum (ETH)0xa2fd119a619908d53928e5848b49bf1cc15689d4
alt text
Tron (TRX)TYL8p2PLCLDfq3CgGBp58WdUvvg9zsJ8pd
alt text
DOGE (DOGE)DDfKN2ys4frNaUkvPKcAdfL6SiVss5Bm19
USDT (SOLANA)cPUZsb7T9tMfiZFqXbWbRvrUktxgZQXQ2Ni1HiVXgFm

Your contribution helps maintain open-source development under the Chain Platform ecosystem 🚀

Keywords

react

FAQs

Package last updated on 05 Nov 2025

Did you know?

Socket

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.

Install

Related posts