Skip to content

About

No description, website, or topics provided.

Resources

Stars

85 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

Morphin dropdown preview

Morphin Registry

The component registry behind the Morphin CLI.

A curated collection of installable React UI components, demos, and supporting assets published as JSON manifests and file payloads for Morphin consumers.

Registry · Catalog · Example Item

Registry React Tailwind CSS Published

Overview

This repository is the source of truth for the Morphin component registry.

It does not contain the CLI itself. Instead, it stores the manifests and file payloads the CLI consumes when a user installs a component from the registry.

Current shape of the registry:

  • 31 published items
  • all entries are component manifests
  • most packages target React + TypeScript + Tailwind CSS
  • the most common runtime dependencies are framer-motion, clsx, and tailwind-merge

What Lives Here

Every registry item is described in two places:

  1. registry.json is the top-level catalog.
  2. items/ contains one manifest per component.

The installable source files themselves live under files/.

Typical examples:

Registry Structure

.
├── CNAME
├── registry.json
├── items/
│   └── <slug>.json
└── files/
    ├── components/
    ├── lib/
    ├── hooks/
    ├── providers/
    ├── public/
    └── types/

There is one implementation detail worth noting:

  • manifest files[].path values are registry paths such as components/...
  • the repository stores the actual payloads under files/...

In other words, the manifest path describes the published registry asset path, not the literal path inside this Git repository.

Item Contract

Each manifest follows the same general contract:

{
  "name": "component-slug",
  "type": "component",
  "files": [
    {
      "path": "components/component-slug/example.tsx",
      "target": "components/example.tsx"
    }
  ],
  "dependencies": ["framer-motion", "clsx", "tailwind-merge"]
}

Field meanings:

  • name: unique registry slug
  • type: currently component
  • files: published source files and where they should be written in the consumer project
  • dependencies: packages the consumer needs installed

Adding A New Component

To publish a new item to the registry:

  1. Add the installable source files under files/.
  2. Create a new manifest in items/ describing those files and dependencies.
  3. Register the item in registry.json with its name, type, manifest path, and description.
  4. Publish the updated static registry to registry.morphin.dev.

Use an existing item as the template if you want the safest starting point:

Design Of The Registry

This registry is optimized for animated, installation-ready UI blocks rather than generic package distribution.

Most items ship as:

  • TSX components
  • local utility files
  • demo files
  • occasional hooks, providers, types, and public assets

That makes the repository easy to inspect, easy to diff, and straightforward for a CLI to consume as raw source code.

Contributing

If you are contributing new registry entries, keep these rules consistent:

  • use a unique kebab-case slug
  • keep manifest paths and targets explicit
  • only declare dependencies the installed item actually needs
  • include every required local file in the manifest
  • update registry.json in the same change as the new item

Links

  • Registry domain: https://registry.morphin.dev
  • Repository: https://github.com/sikkeep/morphin-registry
  • Catalog: registry.json

Acknowledgements

The presentation style of this README is inspired by the Magic UI project:

  • https://github.com/magicuidesign/magicui

License

Licensed under the MIT License. Free for personal and commercial use.

About

No description, website, or topics provided.

Resources

Stars

85 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages