Tips panel preview

Tips panel

Grid of short tips with one action each – taken tips turn into a done state

  • Group
    Cards
  • Origin
    Copied · affectUI · source
  • License
    MIT
  • Added
    Oct 18
npx shadcn@latest add @deank/tips-panel

The registry stays private. Install from the repo with a GitHub token — see the README.

Usage

import { TipsPanel } from "@/registry/components/tips-panel/tips-panel";

<TipsPanel tips={[/* … */]}>Label</TipsPanel>

Props

NameTypeDefaultDescription
tipsTip[]id, title, description, action, doneLabel, primary and onAction
titlestring"Tips"Heading in the gray tray
onClose() => voidShows a Close button in the footer
closeLabelstring"Close"Text of the Close button
classNamestringExtra class on the tray

When to use

- Pointing new users to features they haven't tried yet - A “What's new” or getting-started panel in a dashboard or a dialog

When not to use

Onboarding with required steps (progress-tracker).

Related

Progress tracker · Notification stack