Waqar H. Syed

Source Lens

AI chats 16

About

Displays text with inline citation badges and clickable supporting source cards. It is highly useful for AI chat interfaces, research tools, or documentation apps where evidence must be easily inspectable by users.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Source Lens to your project and fits it to your theme.

Code

How Source Lens is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import * as React from "react";
import SourceLens from "../components/ui/source-lens";

export default function SourceLensDemo() {
  return <div className="flex min-h-[460px] w-full flex-col items-center justify-center bg-background p-4 text-foreground sm:p-8"><SourceLens /></div>;
}

Dependencies

More by Waqar H. Syed

View all
  • Build Pipeline

    Build Pipeline

    310
  • Focus City

    Focus City

    261
  • Scroll animated timeline

    Scroll animated timeline

    232
  • Glowing Pricing Tiers

    Glowing Pricing Tiers

    136
  • Before after comparison

    Before after comparison

    116
  • Thumbnail image viewer

    Thumbnail image viewer

    115
  • Storage District

    Storage District

    90
  • Featured Project Hero

    Featured Project Hero

    73

More in AI chats

View all
  • Agent Chat

    Agent Chat

    21
  • AI Suggestions

    AI Suggestions

    27
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    30
  • AI Actions

    AI Actions

    372
  • Aquarium Prompt

    Aquarium Prompt

    223
  • Message Parts

    Message Parts

    11
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • AI Chat Composer

    AI Chat Composer

    22