Skip to content
프로젝트

소개

가볍고 사용하기 쉬운 온보딩 투어 라이브러리

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
-2
in 7 days
+1
in 15 days
+8
in 1 month
+14

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Intro.js

Node.js CI npm version npm downloads jsDelivr

User onboarding and product walkthrough library

An Intro.js tour step highlighting a chart in a dashboard

Why Intro.js

  • Self-hosted. Tours run entirely in your app. No third-party service, no tracking script, no user data leaves your servers.
  • No runtime dependencies. Plain JavaScript that works with any framework, or none.
  • Tours and hints. Step-by-step walkthroughs with introJs.tour() and contextual hints with introJs.hint().
  • Analytics-ready. Send tour events (start, step, skip, complete, exit) to Google Analytics, Mixpanel or Segment with tour.onEvent() and see where users drop off. See the analytics guide.
  • Themes. Built-in dark, light, auto, modern, flattener, nassim, nazanin and royal themes, plus your own. See the theme guide.
  • Localization. 13 built-in languages (English, Spanish, French, German, Persian, Arabic, Russian, Chinese, Portuguese, Italian, Japanese, Turkish and Korean). The browser's language is picked automatically, or set one with the language option.
  • RTL support and TypeScript source.

Installation

npm install intro.js
# or
yarn add intro.js

Or load it from a CDN: jsDelivr or cdnjs.

Quick start

1) Include intro.js and introjs.css (or the minified versions). Add introjs-rtl.css for right-to-left languages.

import introJs from "intro.js";
import "intro.js/introjs.css";

2) Define the steps, either in JavaScript:

introJs
  .tour()
  .setOptions({
    steps: [
      { title: "Welcome", intro: "Let's take a quick tour." },
      { element: "#search", intro: "Search anything from here." },
      { element: ".settings", intro: "Your settings live here." },
    ],
  })
  .start();

or with data-intro attributes in your HTML:

<button data-step="1" data-intro="Start here!">New project</button>
introJs.tour().start();

See all options and attributes.

3) Hints work the same way:

introJs.hint().addHints();

Documentation

Build

Install Node.js, then run:

npm install
npm run build   # build to dist/
npm run dev     # watch mode with a local server

Contributors ✨

Afshin Mehrabani
Afshin Mehrabani

💻 📖
bozdoz
bozdoz

💻 📖
Parvin Mehrabani
Parvin Mehrabani

💻 📖

Support and discussion

Usage trends

License

Intro.js is dual-licensed.

Commercial license

To use Intro.js in a commercial website, application, theme or plugin without releasing your source code, buy a commercial license at introjs.com.

Open-source license

GNU AGPLv3

관련 프로젝트 살펴보기

불러오는 중…