Skip to content
HomeCobalt

First use

Fills a place the person has never put anything in: what will appear there once they do, the one action that starts it, and up to three ready-made beginnings to open instead.

Examples

A watchlist before its first fund: what will show here, the one action that starts it, and three ready-made lists to open instead.
In a sectionThe same state inside a page's section, lined up with its heading, where saved searches will list once there is one.

Saved searches

Save a search to come back to it
Searches you save list here with how many funds match them today.

Usage

Use it when

  • A list, a feed or a board the person fills: a watchlist, saved searches, alerts, a team.
  • The first visit to a tool whose page is empty until the person sets it up.

Use something else when

  • A search or a filter that matched nothing. Use Empty instead, with what to change.
  • A read that failed. Use Empty instead, with reason="error" and Try again.
  • A setup in several steps. Use Steps instead, beside or under this state.

Rules

General

Content

Avoid

Limits

Install

npx shadcn@latest add https://kaanarici.com/r/cobalt/first-use.json
import { FirstUse, type FirstUseStart } from "@/components/cobalt/ui/first-use"