prongs
GitHub

feedback.info

A neutral status about the current state: loading, searching, nothing to show yet

Component

Renders

<p>

Role

status

Profile

Comes from

starter
Read https://www.prongs.dev/docs/intents/feedback/info.md and tell me whether feedback.info fits what I am building.

Example

Preview

No people match “zebra”.

<Text intent="feedback.info">No people match “{query}”.</Text>

Connections

Choosing between neighbours

  • If it is

    Use

  • A neutral status about the current state: loading, searching, nothing to show yet

    feedback.info
  • Showing that something is working right now, without words

    feedback.busy
  • Neutral status like loading or empty

    rather than feedback.success
    feedback.info

For registry authors

Starter intents. These are the intents prongs add puts in your registry, shown in this site’s theme. Yours are your own registry.ts: rename, restyle and add to them, and see them with prongs add gallery.

What this intent is built from and its entry in components/prongs/registry.ts. You only need this to change how it looks or to add an intent like it.

How feedback.info resolves, and its definition

Each layer adds to the one before it; a later class wins over an earlier one that sets the same thing.

  • typography.small

    Small reading type

    text-sm leading-6
  • tone.muted

    Secondary text colour, readable on every surface

    text-surface-muted
  • feedback.info

    A neutral status about the current state: loading, searching, nothing to show yet

Final classes
text-sm leading-6 text-surface-muted
Definition
TS
'feedback.info': {
kind: 'semantic',
description: 'A neutral status about the current state: loading, searching, nothing to show yet',
refs: ['typography.small', 'tone.muted'],
binding: { element: 'p', ariaRole: 'status' },
notFor: [
{
context: 'showing that something is working right now, without words',
instead: 'feedback.busy',
},
],
},