Pass an ordered steps array and a trigger. A step can target an element with
a CSS selector or appear in the center.
import{Button,Tour}from'@manti-ui/react';// A real onboarding tour: every step spotlights an actual part of this// documentation site's chrome — exactly how you'd guide a first-time user// through your own app.const steps =[{ id:'welcome', title:'Welcome to Manti UI', description:'Take a quick tour of the docs. Move with Back / Next or the arrow keys.', placement:'center'asconst,},{ id:'brand', target:'.docs-brand', title:'Always one click home', description:'The logo brings you back to the landing page from anywhere.', placement:'bottom-start'asconst,},{ id:'nav', target:'.docs-nav-primary', title:'Find your way around', description:'Getting Started, Foundations, Components and Guides — the four corners of the docs.', placement:'bottom'asconst,},{ id:'sidebar', target:'.docs-sidebar', title:'The full catalog', description:'Every component Manti adapts from Zag.js is listed in this sidebar.', placement:'right'asconst,},{ id:'actions', target:'.docs-nav-actions', title:'Search & theme', description:'Jump anywhere with search, or switch between light and dark.', placement:'bottom-end'asconst,},{ id:'toc', target:'.docs-toc', title:'On this page', description:'Every section of the page you are reading, one click away.', placement:'left'asconst,},];exportdefaultfunctionTourBasic(){return(<Toursteps={steps}trigger={<Buttonvariant="primary">Take a tour of the docs</Button>}/>);}