react-joyride vs @reactour/tour vs reactour
React ツアーライブラリ
react-joyride@reactour/tourreactour

React ツアーライブラリ

React ツアーライブラリは、ユーザーにアプリケーションの特定の機能やインターフェース要素をガイドするためのツアーを作成するためのツールです。これにより、ユーザーは新しい機能を簡単に理解し、アプリケーションの使用方法を学ぶことができます。これらのライブラリは、インタラクティブなチュートリアルやツアーを作成するためのさまざまな機能を提供し、ユーザーエクスペリエンスを向上させることができます。

npmのダウンロードトレンド

3 年

GitHub Starsランキング

統計詳細

パッケージ
ダウンロード数
Stars
サイズ
Issues
公開日時
ライセンス
react-joyride308,5857,617712 kB020時間前MIT
@reactour/tour57,8934,06898.5 kB831年前MIT
reactour29,3984,068120 kB832年前MIT

機能比較: react-joyride vs @reactour/tour vs reactour

カスタマイズ性

  • react-joyride:

    react-joyrideは、基本的なカスタマイズオプションを提供しますが、@reactour/tourほどの柔軟性はありません。ツアーのステップやツールチップのスタイルを簡単に変更できますが、複雑なカスタマイズには制限があります。

  • @reactour/tour:

    @reactour/tourは、ツアーの各ステップに対して詳細なカスタマイズが可能です。特定の要素を強調表示したり、カスタムスタイルを適用したりすることができ、開発者は独自のデザインやインタラクションを実現できます。

  • reactour:

    reactourは、シンプルなカスタマイズオプションを提供し、基本的なスタイル設定が可能ですが、他のライブラリに比べてカスタマイズの自由度は低いです。

選び方: react-joyride vs @reactour/tour vs reactour

  • react-joyride:

    react-joyrideを選択する場合は、シンプルで迅速な実装を求めている場合に適しています。このライブラリは、使いやすいAPIを提供し、迅速にツアーを作成することができ、特に小規模なプロジェクトやプロトタイプに適しています。

  • @reactour/tour:

    @reactour/tourを選択する場合は、カスタマイズ性が高く、複雑なツアーを作成したい場合に適しています。このライブラリは、ツアーのステップを柔軟に設定でき、特定の要素に対してカスタムスタイルを適用することが可能です。

  • reactour:

    reactourを選択する場合は、シンプルで直感的なツアーを作成したい場合に適しています。このライブラリは、簡単にセットアップでき、基本的なツアー機能を提供し、特に初心者にとって使いやすい選択肢です。

react-joyride のREADME

React Joyride

CI Quality Gate Status Coverage

Create awesome tours for your app!

Showcase your app to new users or explain the functionality of new features.

Joyride example image

Highlights

  • 🎨 Easy to use: Just set the steps and you're good to go
  • 🔧 Customizable: Use your own components and styles
  • Accessible: Focus trapping, keyboard navigation, and ARIA support
  • 📦 Lightweight: ~30% smaller bundle than v2
  • 🔄 Broad compatibility: React 16.8+ through React 19
  • 🖥️ SSR-safe: Works with Next.js, Remix, and other server-rendering frameworks

Resources

Setup

npm i react-joyride

Quick Start

Component API

import { Joyride } from 'react-joyride';

const steps = [
  { target: '.my-first-step', content: 'This is my awesome feature!' },
  { target: '.my-other-step', content: 'This is another awesome feature!' },
];

export function App() {
  return (
    <div>
      <Joyride run steps={steps} />
      {/* your app */}
    </div>
  );
}

Hook API

import { useJoyride } from 'react-joyride';

const steps = [
  { target: '.my-first-step', content: 'This is my awesome feature!' },
  { target: '.my-other-step', content: 'This is another awesome feature!' },
];

export function App() {
  const { controls, state, Tour } = useJoyride({ steps });

  return (
    <div>
      <button onClick={() => controls.start()}>Start Tour</button>
      {Tour}
      {/* your app */}
    </div>
  );
}

Agent Skill

Enable AI assistants to implement guided tours with React Joyride.

The skill gives your AI assistant comprehensive knowledge of the API, step configuration, events, custom components, and common patterns.

npx skills add gilbarbara/react-joyride

Migration from v2

Check the migration guide for detailed instructions on upgrading from v2.

License

MIT