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

@oumugai/metamorph-ui

v0.3.0

Published

Modern UI framework for Solid.js with MetaMorph design pattern

Downloads

8

Readme

MetaMorph UI

MetaMorph UIは、Solid.jsのためのモダンなUIコンポーネントライブラリです。アニメーションとインタラクティブな要素を重視し、美しいユーザーインターフェースを簡単に構築できます。

インストール

npm install @oumugai/metamorph-ui solid-js
# または
yarn add @oumugai/metamorph-ui solid-js
# または
pnpm add @oumugai/metamorph-ui solid-js

セットアップ

使用方法:

import { Button, Card, Input } from '@oumugai/metamorph-ui';

function App() {
  return (
    <div>
      <Card>
        <Input placeholder="入力してください" />
        <Button>送信</Button>
      </Card>
    </div>
  );
}

各コンポーネントは必要なスタイルを自動的に読み込むため、別途スタイルをインポートする必要はありません。コンポーネントをインポートするだけで、すぐに使用できます。

  1. テーマのカスタマイズ(オプション):
import { variables, createCssVariables } from '@oumugai/metamorph-ui';

// テーマ変数のカスタマイズ
const customTheme = {
  ...variables,
  colors: {
    ...variables.colors,
    primary: '#your-primary-color',
  },
};

// カスタムテーマの適用
createCssVariables(customTheme);

コンポーネント

Card

インタラクティブな3D効果を持つカードコンポーネント。

import { Card } from 'metamorph-ui';

// 基本的な使用法
<Card>
  コンテンツをここに配置
</Card>

// インタラクティブな3D効果付き
<Card interactive tilt>
  マウスホバーで3D効果が表示されます
</Card>

// 異なるバリアント
<Card variant="elevated">Elevated Card</Card>
<Card variant="outlined">Outlined Card</Card>
<Card variant="filled">Filled Card</Card>

プロパティ

| プロパティ名 | 型 | デフォルト | 説明 | |------------|-----|---------|------| | variant | 'elevated' | 'outlined' | 'filled' | 'elevated' | カードのスタイルバリアント | | interactive | boolean | false | マウスインタラクションの有効化 | | tilt | boolean | true | 3D傾き効果の有効化 | | class | string | - | 追加のCSSクラス | | style | object | - | インラインスタイル |

Input

高度にカスタマイズ可能なインプットコンポーネント。

import { Input } from 'metamorph-ui';

// 基本的な使用法
<Input 
  label="ユーザー名"
  placeholder="ユーザー名を入力"
/>

// エラー表示
<Input 
  label="メールアドレス"
  error="有効なメールアドレスを入力してください"
/>

// ヘルパーテキスト付き
<Input
  label="パスワード"
  type="password"
  helperText="8文字以上の英数字を入力してください"
/>

// サイズバリエーション
<Input size="sm" placeholder="Small input" />
<Input size="md" placeholder="Medium input" />
<Input size="lg" placeholder="Large input" />

プロパティ

| プロパティ名 | 型 | デフォルト | 説明 | |------------|-----|---------|------| | label | string | - | 入力フィールドのラベル | | placeholder | string | - | プレースホルダーテキスト | | type | string | 'text' | 入力タイプ(text, password, etc) | | value | string | - | 入力値 | | error | string | - | エラーメッセージ | | helperText | string | - | ヘルプテキスト | | disabled | boolean | false | 無効状態 | | size | 'sm' | 'md' | 'lg' | 'md' | インプットのサイズ | | icon | JSX.Element | - | 先頭に表示するアイコン |

Chart

データビジュアライゼーションのためのチャートコンポーネント。

import { Chart } from 'metamorph-ui';

<Chart
  data={[
    { label: 'A', value: 10 },
    { label: 'B', value: 20 },
    { label: 'C', value: 15 }
  ]}
/>

CircularProgress

ローディング状態を表示するための円形プログレスインジケータ。

import { CircularProgress } from 'metamorph-ui';

// 不定のプログレス
<CircularProgress />

// 進捗率付き
<CircularProgress value={75} />

LineChart

時系列データなどを表示するための折れ線グラフコンポーネント。

import { LineChart } from 'metamorph-ui';

<LineChart
  data={[
    { x: '2024-01', y: 30 },
    { x: '2024-02', y: 45 },
    { x: '2024-03', y: 55 }
  ]}
/>

アニメーションとインタラクション

MetaMorph UIのコンポーネントは、洗練されたアニメーションとインタラクションを内蔵しています:

  • Cardコンポーネントの3D傾き効果
  • Inputフィールドのホバーとフォーカス時の浮き上がり効果
  • スムーズなトランジションとフィードバック

ライセンス

MIT License