Skip to content

Illustration and imagery

When to use pictures, and how they should look.

Illustrations back up the words in a screen state. Photos and images show content people care about. Both are quiet. They use the same tokens as the rest of Tattva, so they switch between light and dark mode on their own.

Small drawings

Click one to copy its code.

Pictograms

Simple line icons that work at any size.

Empty and error screens

Each kind comes with its own drawing.

Start your first chat

Nothing is here yet. Ask a question or add a file to begin.

Style rules

  • One idea per illustration. A spot illustration shows a single idea for an empty, error or celebration screen.
  • One-color ink lines on paper or sand. Each piece has at most one lime accent.
  • No gradients or glows. No robots, brains, orbs or sparkle mascots. The sources below call these the visual cliché of AI products.
  • No detail smaller than 4px in the 160 unit drawing. Fine detail vanishes at 64px.
  • Line thickness grows with size: 1.5px at 64, 2px at 96 and 2.5px at 160.
  • Every color is a token, so the same art works in light and dark mode.
  • Amber stays out of the art. It appears only on the text label when a person must act.

Spot illustrations in three sizes

The left panel uses the current theme. The right panel always uses dark colors, so you can compare both.

Page theme

64px, stroke 1.5px

96px, stroke 2px

160px, stroke 2.5px

Dark tokens

64px, stroke 1.5px

96px, stroke 2px

160px, stroke 2.5px

  • empty-chat, two empty speech bubbles
  • no-results, a magnifier over a sheet of lines
  • error, a sheet with an exclamation badge
  • permission, a closed lock
  • offline, a plug apart from its socket
  • rate-limit, an hourglass
  • success, a sheet with a check badge
  • upload, a tray with a sheet and an up arrow
  • first-run, a dotted path leading to a flag

Pictograms

For small spaces and lists of features. They sit on a 32 unit grid with 1px padding, are drawn as lines and take the text color.

chat
agent
document
image
code
data
search
shield
memory
voice
plan
tools

When to use them

Empty screens

Images

Choosing alt text

What we could not verify

Sources

Build your next AI screen with Tattva.

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

Get started