In-view title
CoreBring a section title in as it scrolls into view.
pnpm dlx shadcn@latest add https://wui.alann.works/r/in-view-title.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
text* | string; variant?: InViewTitleVariant; as?: "h1" | "h2" | "h3"; lines?: string[]; className?: string; id?: string; once?: boolean } | required |