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

next-live2d

v1.4.1

Published

A simple React component to embed Live2D models (via `live2d-widget`) in Next.js projects.

Readme

A simple React component to embed Live2D models (via live2d-widget) in Next.js projects.

npm License: MIT GitHub Repo stars npm

Live2D Widget Preview

✨ Features

  • 🧠 Auto-load Live2D Widget
  • ⚙️ Zero-config usage with App Router
  • 🎒 Comes with built-in model (histoire)
  • ✅ SSR-safe using dynamic(() => import(...), { ssr: false })

🚀 Installation

npm install next-live2d

🧩 Usage in Next.js (app/layout.tsx)

'use client'

import { Live2DWidget } from 'next-live2d' {/* Import tại đây */}

import { ReactNode } from 'react'
import './globals.css'

export default function RootLayout({ children }: { children: ReactNode }) {
  return (
    <html lang="en">
      <body>
        <main>{children}</main>
        <Live2DWidget modelName="mai" /> {/* Bạn có thể đổi model khác tại đây */}
      </body>
    </html>
  )
}

📁 Model Path

By default, the widget looks for:

📦 Available Built-in Models

| Model Name | Preview (coming soon) | Usage | |----------------------|-------------------------------|--------------------------------------| | histoire | | <Live2DWidget modelName="histoire" /> | | bilibili-22 | | <Live2DWidget modelName="bilibili-22" /> | | bilibili-33 | | <Live2DWidget modelName="bilibili-33" /> | | cat-black | | <Live2DWidget modelName="cat-black" /> | | cat-white | | <Live2DWidget modelName="cat-white" /> | | chino | | <Live2DWidget modelName="chino" /> | | date | | <Live2DWidget modelName="date" /> | | hallo | | <Live2DWidget modelName="hallo" /> | | haruto | | <Live2DWidget modelName="haruto" /> | | hibiki | | <Live2DWidget modelName="hibiki" /> | | HK416-1-normal | | <Live2DWidget modelName="HK416-1-normal" /> | | HK416-2-destroy | | <Live2DWidget modelName="HK416-2-destroy" /> | | HK416-2-normal | | <Live2DWidget modelName="HK416-2-normal" /> | | Kar98k-normal | | <Live2DWidget modelName="Kar98k-normal" /> | | kobayaxi | | <Live2DWidget modelName="kobayaxi" /> | | koharu | | <Live2DWidget modelName="koharu" /> | | kp31 | | <Live2DWidget modelName="kp31" /> | | live_uu | | <Live2DWidget modelName="live_uu" /> | | mai | | <Live2DWidget modelName="mai" /> | | murakumo | | <Live2DWidget modelName="murakumo" /> | | Pio | | <Live2DWidget modelName="Pio" /> | | platelet | | <Live2DWidget modelName="platelet" /> | | platelet_2 | | <Live2DWidget modelName="platelet_2" /> | | potion-Maker-Pio | | <Live2DWidget modelName="potion-Maker-Pio" /> | | rem | | <Live2DWidget modelName="rem" /> | | rem_2 | | <Live2DWidget modelName="rem_2" /> | | shizuku | | <Live2DWidget modelName="shizuku" /> | | shizuku_48 | | <Live2DWidget modelName="shizuku_48" /> | | shizuku_pajama | | <Live2DWidget modelName="shizuku_pajama" /> | | terisa | | <Live2DWidget modelName="terisa" /> | | tia | | <Live2DWidget modelName="tia" /> | | umaru | | <Live2DWidget modelName="umaru" /> | | uni | | <Live2DWidget modelName="uni" /> | | wed_16 | | <Live2DWidget modelName="wed_16" /> | | xisitina | | <Live2DWidget modelName="xisitina" /> | | z16 | | <Live2DWidget modelName="z16" /> | | Senko_Normals | | <Live2DWidget modelName="Senko_Normals" /> |

🧑‍💻 Author

Trần Hữu Đang Website: https://dangth.dev

📝 License MIT