Skip to content

AIBadge

Stable

A lime-tinted badge with a sparkle that marks content made by AI.

Also known as ai tag, ai chip

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Default

AI-generated

The standard label for content made by AI.

When to use it

A badge with a sparkle that marks one piece of content as made by AI. It sits on the item itself, so people can tell AI work from human work at a glance.

Made of: Sparkle icon · Label

Use it for

  • A generated image, summary or draft.
  • A card whose text the assistant wrote.
  • Content on a photo or a busy background: turn on solid.

Not for

  • A note about the whole conversation: use AIDisclosure.
  • AI content that needs an explanation, or an undo after editing: use AILabel.
  • Content a person wrote.

Do and avoid

Trip summary AI-generated
Do. The badge sits on the one item that AI made.
Spring sale New
Avoid. The sparkle means AI, so using it for news misleads people.

Do

  • Put it on anything the AI wrote or made, like summaries or images.
  • Keep the label to two words or fewer.
  • Place it close to the content it describes, like a corner of a card.
  • Use the same words for the same kind of content everywhere.

Avoid

  • Do not use it on content a person wrote.
  • Do not use it as a general highlight. The sparkle means AI.
  • Do not swap it for a plain Badge in the accent color.
  • Do not use it in place of AIDisclosure when the whole conversation needs a caution.

On a phone

  • AIBadge is not tappable and does not change on a phone.
  • Its text is 12px on touch screens.
  • Set solid when the badge sits on an image, as on any screen size.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started