Three quiet cards, each a bold sentence with a live product moment under it. The first spans both columns; they reveal once on scroll.
Used for
- A product page that shows three things the product does
- A landing section where each claim needs to be seen, not described
- A tour of a dashboard, one live moment at a time
Examples
Installation
npx knowns-ui@latest add feature-trioFor Claude Code, Cursor or Codex: installs it and wires the props to your own data.
Paste this into your coding agent (Claude Code, Cursor, Codex). It checks your project, sets up the registry, runs the install and verifies it.
Install prompt
Install Feature trio from Knowns UI into this project. Work step by step, show me each change, and ask before you edit files outside this project.
Context: Knowns UI (https://ui.knowns.dev) is a shadcn registry. Items land in the project as source files. Docs: https://ui.knowns.dev/docs/feature-trio
1. Check the project first. Stop and tell me if any of these is missing:
- React 19 and Tailwind CSS v4.
- A components.json at the project root. If there is none, ask me before running `npx knowns-ui@latest init --no-key` (it runs shadcn init when needed, then adds the registries).
2. Run:
```bash
npx knowns-ui@latest add feature-trio
```
It writes these files:
- lib/knowns/run.ts
- lib/knowns/json.tsx
- lib/knowns/status.ts
- lib/knowns/tone.ts
- lib/knowns/types.ts
- lib/knowns/use-abortable.ts
- lib/knowns/utils.ts
- components/ui/knowns/spinner.tsx
- components/ui/knowns/button.tsx
- components/ui/knowns/illustrations/illust-utils.ts
- components/ui/knowns/illustrations/use-in-view.ts
- components/ui/knowns/marquee/marquee.tsx
- components/ui/knowns/marquee/marquee-utils.ts
- components/ui/knowns/blocks/marketing/section-heading.tsx
- components/ui/knowns/blocks/marketing/marketing-utils.ts
- lib/knowns/motion.tsx
- lib/knowns/motion-utils.ts
- components/ui/knowns/blocks/marketing/feature-trio.tsx
- components/ui/knowns/blocks/marketing/use-reveal.ts
and installs these npm packages: clsx@^2.1.1, tailwind-merge@^3.7.0, class-variance-authority@^0.7.1.
3. While it runs:
- It also adds a few @keyframes (all named kn-*) to the global CSS file (globals.css or the file components.json points at). Let it: they only add animations.
- If it asks to overwrite files under lib/knowns/: these are shared by every Knowns UI item. List them, say whether I changed them (check git), and ask me before you answer.
- If it asks to overwrite any other file, show me the diff and ask me.
4. Verify:
- Every file in the list above exists.
- The project type-checks (for example `npx tsc --noEmit`) and the dev build has no new errors.
5. Use it: follow the examples and props on https://ui.knowns.dev/docs/feature-trio, and ask me if anything about my data is unclear.
If the Knowns UI MCP server is connected (https://ui.knowns.dev/docs/ai-and-mcp), use get_component({ name: "feature-trio" }) or search_docs for details.
Finish with a short summary: the files you added or changed, the packages you installed, and anything I still need to do.Props
- cards
FeatureTrioCard[]- { mark?, lead, text?, visual }. The first card spans both columns on 640px and up. Three is the design.
- visual
ReactNode|(revealed: boolean) => ReactNode- The live moment. A function gets false until the card has scrolled in, then true, to start a count once.
- eyebrow / title / lead
ReactNode- An optional heading above the cards.
- align
start|center- Default
start - Heading alignment.
- Motion
-- A 6px rise and fade, 180ms ease-out, 40ms apart, once. Visible on the server and before JavaScript, and still under reduced motion.
| Prop | Type | Default | Description |
|---|---|---|---|
| cards | FeatureTrioCard[] | - | { mark?, lead, text?, visual }. The first card spans both columns on 640px and up. Three is the design. |
| visual | ReactNode | (revealed: boolean) => ReactNode | - | The live moment. A function gets false until the card has scrolled in, then true, to start a count once. |
| eyebrow / title / lead | ReactNode | - | An optional heading above the cards. |
| align | start | center | start | Heading alignment. |
| Motion | - | - | A 6px rise and fade, 180ms ease-out, 40ms apart, once. Visible on the server and before JavaScript, and still under reduced motion. |
What it handles
- 01Puts a hairline above each card, a small mono mark, one bold sentence that carries on in muted text, and a slot for the live moment.
- 02Spans the first card across both columns and stacks to one column under 640px.
- 03Reveals once as the section scrolls in: a 6px rise and a fade, 40ms apart, never replayed.
- 04Shows everything on the server and before JavaScript runs, and shows the final state under reduced motion.
- 05Tells a function visual when its card has scrolled in, so a count or a grow starts then.
States
- Scrolling in
- Each card rises 6px and fades in, 40ms apart
- 180ms, ease-out
- Already on screen at load
- The cards are shown as they are
- none
- No JavaScript
- The cards are visible
- none
- Reduced motion
- The cards are visible and still
- 0ms
| State | What moves | Timing |
|---|---|---|
| Scrolling in | Each card rises 6px and fades in, 40ms apart | 180ms, ease-out |
| Already on screen at load | The cards are shown as they are | none |
| No JavaScript | The cards are visible | none |
| Reduced motion | The cards are visible and still | 0ms |
Works with
When to use
When to use
- Three claims that each need a live component to be believed: collaboration, monitoring, a prompt.
- A quiet product section between a hero and a call to action.
When not to use
- Many small features: a grid reads faster: use Feature Grid.
- One feature shown large beside its text: use Feature Split.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Feature Trio to my app and wire it to my own data.
- I need three claims that each need a live component to be believed: collaboration, monitoring, a prompt. Set that up with the Knowns UI Feature Trio.
- Which Feature Trio props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "feature-trio" }) and search_docs({ query: "feature trio" }).