VISUALLIdesign system

Canvas

SourceChip

What the user brought: a file, link, video or note, with status.

Playground

Change the props, switch theme in the header, try Tablet and Phone widths, then copy the code.

Playground

Examples

Live previewOpen ↗

Props

export interface SourceChipProps {
  kind?: 'pdf' | 'doc' | 'url' | 'video' | 'text' | 'image' | 'notion' | 'obsidian' | 'audio';
  name: string;
  meta?: string;
  status?: 'uploading' | 'ready' | 'error';
  onRemove?: () => void
}

Use

import { SourceChip } from '@visualli/design-system/components';

Source: components/src/ · Guidelines: components/catalog/SourceChip/README.md