Louis Studios

Source Rail

AI chats 2

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.3K
  • Peak Chart

    Peak Chart

    1K
  • Dot Tiles

    Dot Tiles

    181
  • Glow Rocker

    Glow Rocker

    171
  • Cover Flow

    Cover Flow

    157
  • Chrome Arcs

    Chrome Arcs

    152
  • Chapter Player

    Chapter Player

    134
  • Market Card

    Market Card

    130

More in AI chats

View all
  • AI Actions

    AI Actions

    355
  • AI Suggestions

    AI Suggestions

    21
  • AI Artifact

    AI Artifact

    14
  • Agent Chat

    Agent Chat

    21
  • AI Orb

    AI Orb

    200
  • Aquarium Prompt

    Aquarium Prompt

    129
  • AI Response

    AI Response

    16
  • Message With Header And Delivery Status

    Message With Header And Delivery Status

    64