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

dmf-logo-sdk

v0.0.2

Published

Official Digital Media Factory (DMF) logo and animated kinetic splash screen SDK for React and Next.js.

Readme

DMF LOGO SDK (Web)

npm package React Next.js TypeScript License: MIT Website

Official Digital Media Factory (DMF) animated kinetic splash screen and logo SDK for Next.js and React.

Mirrors the kinetic physics, dual-theme palettes, and multi-style branding of the Flutter mobile SDK with $100%$ visual and mathematical parity.

📦 Official npm Package: https://www.npmjs.com/package/dmf-logo-sdk


Features

  • ⚡ Next.js Ready: Full 'use client' support for Next.js App Router (13/14/15) and Pages Router.
  • 🎨 Dual Luxury Themes: Pure White Light (#FFFFFF) and Deep Obsidian Dark (#0C121E with radial gradient).
  • 💎 Two Brand Styles:
    • LogoStyle.dmfOneLine: Authentic horizontal D-M-F emblem + p o w e r e d + DIGITAL + MEDIA FACTORY kinetic text.
    • LogoStyle.dmfFullLogo: Full official lockup logo.
  • 🚀 Kinetic Physics Engine: Exact replica of Flutter's BallLaunchCurve ($1.12$ peak overshoot) and TextOvershootCurve ($1.55$ and $1.45$ overshoots with rebound settling).
  • 📦 Zero-Config Asset Bundling: High-resolution brand assets are bundled directly as optimized data-URIs. No broken image links, no asset copying required.
  • 🔤 Automatic Typography: Dynamically loads and sets Google Fonts (Outfit 900 and Plus Jakarta Sans 500, 800).
  • 🪶 Ultra Lightweight: Pure React with zero bulky third-party animation dependencies.

Installation

Install the package via npm, pnpm, or yarn:

npm install dmf-logo-sdk
# or
yarn add dmf-logo-sdk
# or
pnpm add dmf-logo-sdk

Quick Start

1. Next.js (App Router)

// app/page.tsx or app/splash/page.tsx
'use client';

import { useState } from 'react';
import { SplashScreen, LogoStyle } from 'dmf-logo-sdk';
import { useRouter } from 'next/navigation';

export default function SplashPage() {
  const router = useRouter();

  return (
    <SplashScreen
      initialLogoStyle={LogoStyle.dmfOneLine} // or 'dmfOneLine' | 'dmfFullLogo'
      isDark={true}
      onAnimationComplete={() => {
        router.push('/home');
      }}
    />
  );
}

2. React (Vite / CRA / Remix)

import React, { useState } from 'react';
import { SplashScreen, LogoStyle } from 'dmf-logo-sdk';

export function App() {
  const [showSplash, setShowSplash] = useState(true);

  if (showSplash) {
    return (
      <SplashScreen
        initialLogoStyle={LogoStyle.dmfOneLine}
        isDark={false}
        onAnimationComplete={() => setShowSplash(false)}
      />
    );
  }

  return <div>Your Main Application</div>;
}

3. Standalone Logo Components

You can also use the logo components standalone anywhere in your application:

import { DmfOneLineMark, DmfFullLogo } from 'dmf-logo-sdk';

export function Header() {
  return (
    <header>
      {/* Horizontal one-line emblem */}
      <DmfOneLineMark width={200} />

      {/* Full official logo mark */}
      <DmfFullLogo isDark={true} width={300} />
    </header>
  );
}

Props Reference

<SplashScreen />

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | initialLogoStyle | 'dmfOneLine' \| 'dmfFullLogo' | 'dmfOneLine' | Brand style variant to display. | | isDark | boolean | false | false for pure white light palette, true for deep obsidian dark (with radial gradient). | | onAnimationComplete | () => void | undefined | Callback triggered when the $2400\text{ ms}$ kinetic animation finishes. | | duration | number | 2400 | Total duration of the animation sequence in milliseconds. | | fullscreen | boolean | true | When true, occupies fixed full viewport (position: fixed). When false, sizes relative to parent container. | | autoPlay | boolean | true | Whether to automatically play the entrance kinetic choreography. | | loadFonts | boolean | true | Automatically inject Google Fonts (Outfit and Plus Jakarta Sans). | | markWidth | number | 250 | Display width in pixels for Style 1 one-line emblem. | | fullLogoWidth | number | 335 | Display width in pixels for Style 2 full logo. | | className | string | '' | Custom CSS class name. | | style | React.CSSProperties | {} | Custom inline style overrides. |

<DmfOneLineMark />

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number \| string | 250 | Width of the horizontal emblem mark. Native aspect ratio is $1242 : 408$. | | launchProgress | number | 1.0 | Controlled progress ($0.0$ to $1.0$) driving elevation and opacity. |

<DmfFullLogo />

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | isDark | boolean | false | Switches between light mode and dark mode full logo assets. | | width | number \| string | 335 | Width of the logo mark. Native aspect ratio is $1060 : 204$. |


License

MIT © Digital Media Factory