Louis Studios

Source Rail

AI chats 20

About

An AI answer that shows its work: press Overview and the reply splits beside a scroll-linked rail of source and tool-call cards, each tied to its phrase by a live connector. More like this, plus a designer your coding agent can use, at studios.lou15.com/?ref=21st

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

Code

How Source Rail 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 { SourceRail } from "@/components/ui/source-rail";

/** Press Overview and the answer splits beside a scroll-linked rail of source and tool-call cards. */
export default function SourceRailDemo() {
  return (
    <main className="relative flex h-screen min-h-[560px] w-full items-center justify-center overflow-hidden" style={{ backgroundColor: "#e9ecf2" }}>
      <div style={{ width: "min(100%, 420px)", height: "min(100%, 640px)", borderRadius: 28, overflow: "hidden" }}><SourceRail autoplay /></div>
    </main>
  );
}

More by Louis Studios

View all
  • Warp Carousel

    Warp Carousel

    1.8K
  • Peak Chart

    Peak Chart

    1.5K
  • Chrome Arcs

    Chrome Arcs

    233
  • Glow Rocker

    Glow Rocker

    225
  • Dot Tiles

    Dot Tiles

    223
  • Cover Flow

    Cover Flow

    218
  • Assistant Wall

    Assistant Wall

    190
  • Market Card

    Market Card

    179

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