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

@morphin/cli

v1.0.6

Published

CLI for installing Morphin animated React components

Downloads

598

Readme

Morphin CLI

Install animated React components and full UI sections from the Morphin registry.

Morphin provides production-ready motion components built with:

  • React
  • Framer Motion
  • Tailwind
  • shadcn/ui-compatible patterns

Quick Start

Install a component or page bundle directly into your project:

npx @morphin/cli add beautiful-layout-page-with-pulse-stripes

List available components:

npx @morphin/cli list

Authenticate for Pro-only components:

npx @morphin/cli login

This will fetch components from:

https://registry.morphin.dev/registry.json

Example

Install a full page bundle:

npx @morphin/cli add beautiful-layout-page-with-pulse-stripes

This installs:

src/components/
  hero.tsx
  header.tsx
  animated-lines.tsx
  insights-section.tsx
  brand-marquee.tsx

src/components/ui/
  logo.tsx

Dependencies will be suggested automatically:

npm install framer-motion @number-flow/react lucide-react

CLI Usage

npx @morphin/cli list
npx @morphin/cli add <component>
npx @morphin/cli login
npx @morphin/cli logout
npx @morphin/cli whoami

Advanced options:

npx @morphin/cli list [--registry <url-or-path>]

npx @morphin/cli add <component...>
  [--registry <url-or-path>]
  [--cwd <path>]
  [--dry-run]
  [--overwrite]
  [--no-install]
  [--pm <npm|pnpm|yarn|bun>]

npx @morphin/cli login
  [--token <token>]
  [--no-browser]

Examples

Preview installation:

npx @morphin/cli add beautiful-layout-page-with-pulse-stripes --dry-run

Install and auto-install dependencies:

npx @morphin/cli add beautiful-layout-page-with-pulse-stripes --install

Use custom registry:

npx @morphin/cli list --registry ./registry/registry.json

Use an existing token without opening a browser:

npx @morphin/cli login --token <token> --no-browser

Registry Source Resolution

When --registry is not provided, the CLI resolves the registry source in this order:

  1. MORPHIN_REGISTRY environment variable
  2. Local ./registry/registry.json (if present)
  3. Default registry:
https://registry.morphin.dev/registry.json

Registry Structure

Example registry layout:

registry/
  registry.json
  items/
    beautiful-layout-page-with-pulse-stripes.json
  files/
    components/
      hero.tsx
      header.tsx
      animated-lines.tsx
      insights-section.tsx
      brand-marquee.tsx
      ui/
        logo.tsx

Each item manifest describes:

  • files to install
  • dependencies
  • optional registry dependencies

Notes

  • Installed files are written under src/ by default.
  • Existing files are skipped unless --overwrite is used.
  • --dry-run previews file writes without modifying the filesystem.
  • CLI tokens are stored in ~/.morphin/config.json.
  • MORPHIN_TOKEN can be used to authenticate without writing a local config file.
  • Remote registry requests automatically include Authorization: Bearer <token> when a token is available.
  • Pro-only components return an upgrade prompt that links to https://morphin.dev/pricing.
  • registryDependencies are printed as:
npx shadcn add ...

and are not auto-installed.


Links

Registry https://registry.morphin.dev

Website https://morphin.dev