@cult-ui/intro-disclosureloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. IndexBM25 + vectors

Public log. Prompts, raw model errors and costs stay on the admin side.

Log
Demo source
src/demo.tsx · from an earlier run
import { Component, useState, type ReactNode } from 'react'import { Button } from '@/components/ui/button'import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'import { IntroDisclosure } from '@/components/ui/intro-disclosure'const steps = [  {    title: 'Welcome to your dashboard',    short_description: 'A quick look around.',    full_description: 'This tour walks you through the main areas of your dashboard in under a minute.',  },  {    title: 'Track your projects',    short_description: 'See progress at a glance.',    full_description: 'Each project shows its status, owner, and the next milestone.',  },  {    title: 'Invite your team',    short_description: 'Collaborate in one place.',    full_description: 'Add teammates by email and set their access level.',    action: { label: 'Invite members', onClick: () => {} },  },]class TourBoundary extends Component<{ children: ReactNode; fallback: ReactNode }, { failed: boolean }> {  state = { failed: false }  static getDerivedStateFromError() {    return { failed: true }  }  render() {    return this.state.failed ? this.props.fallback : this.props.children  }}function TourFallback() {  return (    <Card className='w-full max-w-sm'>      <CardHeader>        <CardTitle>{steps[0].title}</CardTitle>        <CardDescription>{steps[0].short_description}</CardDescription>      </CardHeader>      <CardContent>        <p className='text-muted-foreground text-sm'>{steps[0].full_description}</p>      </CardContent>      <CardFooter className='justify-end'>        <Button size='sm'>Next</Button>      </CardFooter>    </Card>  )}export default function IntroDisclosureDemo() {  const [open, setOpen] = useState(true)  return (    <div className='flex flex-wrap items-center gap-2'>      <Button variant='outline' onClick={() => setOpen(true)}>        Start tour      </Button>      <TourBoundary fallback={<TourFallback />}>        <IntroDisclosure          steps={steps}          featureId='dashboard-tour'          open={open}          setOpen={setOpen}        />      </TourBoundary>    </div>  )}