Fluid Componentsのロゴ

Fluid Components

組織
useFluid
fluid-components

Use when the project depends on @usefluid/motion or the user names Fluid, and they want to add, choose or adapt a Fluid piece (Metamorph, Pet, Bot, Segmented Picker, Spring Switch, Morph Dialog, Splash...). Not for animation with other libraries (Framer Motion, GSAP, CSS) or projects without Fluid.

概要

公開者useFluid
リポジトリfluidui
スキル名fluid-components
スター
58
フォーク
3
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    useFluidがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Fluid Components」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/useFluid/fluidui/tree/main/skills/fluid-components
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/useFluid/fluidui.git /tmp/fluidui
mkdir -p .claude/skills
cp -r /tmp/fluidui/skills/fluid-components .claude/skills/fluid-components
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFluid Componentsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFluid Componentsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Fluid Componentsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Fluid components

Fluid pieces are React components copied into the project, all made from one motion: outlines that flow on real springs. Use them where the motion means something: a state changed, something opened, something arrived.

Before you start

  • No --fluid-* theme in the project yet? Do fluid-brand first.
  • @usefluid/motion missing from package.json? Install it: npm i @usefluid/motion.
  • Works in Next.js (App Router or Pages), Vite and Remix. Pieces start with "use client" and use CSS Modules.

Pick the piece

The product needsPiece
A window that opens from a card or buttonmorph-dialog
A mobile menumenu-morph
A filter or a view switch over one listsegmented-picker
Tabs that switch panels, with countspill-tabs
An on and off settingspring-switch
Main and secondary buttonsspring-button
A submit that takes a momentmorph-button
A notice after an actionisland-toast
Copy a code or linkcopy-morph
A loading statemorph-loader
Open and close, play and pause iconsicon-morph
A quick action that opens a small panelmorph-island
A changing word in a headingword-cycle
A heading that arrives letter by lettertext-reveal
A route or screen change with the brandlogo-wipe (LogoCurtain for routes)
The logo arrivingshape-morph
An openingsplash-shapes, splash-choice, splash-dots (see the fluid-splash skill)
A mascot or assistantpet, bot (see the fluid-characters skill)

npx @usefluid/cli list prints all of them.

Steps

1. Add

bash
npx @usefluid/cli add morph-dialog segmented-picker

Files land in src/components/fluid/<piece>/ (or components/fluid/, or --dir), with any piece they use.

2. Read the piece's README

Every piece folder has a README.md with its props, an example, and what keyboard and screen reader users get. Read it before wiring the piece. Do not guess props.

3. Wire it to real state

Drive pieces from the product's real data and events: the real request for morph-button, the real filter for segmented-picker. Remove every sample text.

Check: with the keyboard only, at 320 px wide, in light and dark mode, and with reduced motion on, every state can be reached and read.

Rules

  • Controls never animate by themselves. Characters may breathe and blink; pass still where nothing should move.
  • Colours come from the --fluid-* variables only.
  • One showpiece per screen.
  • The pieces are the project's code: change them freely, and keep them accessible.

Common mistakes

MistakeFix
from={ref.current} on MorphDialog, or clearing from on closeKeep open and from in separate state and leave from set while it closes
LogoWipe around App Router childrenUse LogoCurtain and useCurtain: cover, navigate, uncover on the new path; skip the curtain for the current path (see its README)
MenuMorph links reload the whole page in Next.jsGive each item onSelect: () => router.push(href) as well as href
pill-tabs for a filtersegmented-picker is the right semantics for a filter
word-cycle looping in the productloop={false}
A Bot with no way to typePass your input as its children

Building something no piece covers? Use fluid-metamorph.

よくある質問

AIスキル「Fluid Components」では何ができますか?

Use when the project depends on @usefluid/motion or the user names Fluid, and they want to add, choose or adapt a Fluid piece (Metamorph, Pet, Bot, Segmented Picker, Spring Switch, Morph Dialog, Splash...). Not for animation with other libraries (Framer Motion, GSAP, CSS) or projects without Fluid.

TypingMindでFluid Componentsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Fluid Componentsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFluid Componentsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/useFluid/fluidui/tree/main/skills/fluid-componentsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Fluid Componentsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Fluid Componentsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFluid Componentsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Fluid Components」は無料ですか?

はい。useFluidがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇