Claude Code
remocn/claude-codeFreeComponent
Animated Claude Code CLI welcome screen — terminal window with a dashed welcome box, recent activity and what's new panels, and a prompt line that types a command with a block cursor. Dark/light themes.
Install it
npx shadcn@latest add https://www.remocn.dev/r/claude-code.jsonSource
1"use client";23import { loadFont } from "@remotion/google-fonts/JetBrainsMono";4import {5 AbsoluteFill,6 interpolate,7 spring,8 useCurrentFrame,9 useVideoConfig,10} from "remotion";11import { Caret } from "@/components/remocn/caret";12import { useTypewriter } from "@/lib/remocn-ui";1314const { fontFamily: MONO_FAMILY } = loadFont();1516export interface ClaudeCodeProps {17 title?: string;18 userName?: string;19 model?: string;20 cwd?: string;21 placeholder?: string;22 prompt?: string;23 accentColor?: string;24 speed?: number;25}2627interface Theme {28 page: string;29 windowBar: string;30 windowBody: string;31 fg: string;32 fgMuted: string;33 fgDim: string;34 boxBorder: string;35}3637export const THEMES: Record<"light" | "dark", Theme> = {38 light: {39 page: "#E8E5DD",40 windowBar: "#D8D3CA",41 windowBody: "#FBFAF7",42 fg: "#1F1E1D",43 fgMuted: "#73726C",44 fgDim: "#A3A097",45 boxBorder: "#D97757",46 },47 dark: {48 page: "#2B2A28",49 windowBar: "#3A3633",50 windowBody: "#1B1A18",51 fg: "#E8E5DD",52 fgMuted: "#8A857C",53 fgDim: "#6B6660",54 boxBorder: "#D97757",55 },56};5758export const TYPING_START_FRAME = 48;5960export const TYPING_CPS = 18;6162export const WHATS_NEW: string[] = [63 "/agents to create subagents",64 "/security-review for review agent",65 "ctrl+b to background bashes",66];6768function introBounceIn(69 frame: number,70 fps: number,71): { translateY: number; scale: number } {72 const s = spring({73 fps,74 frame,75 config: { damping: 14, stiffness: 110, mass: 0.7 },76 });77 const translateY = interpolate(s, [0, 1], [28, 0]);78 const scale = interpolate(s, [0, 1], [0.97, 1]);79 return { translateY, scale };80}8182function fadeUpAt(83 frame: number,84 range: [number, number],85): { opacity: number; translateY: number } {86 const opts = {87 extrapolateLeft: "clamp" as const,88 extrapolateRight: "clamp" as const,89 };90 return {91 opacity: interpolate(frame, range, [0, 1], opts),92 translateY: interpolate(frame, range, [12, 0], opts),93 };94}9596function Mascot({ accent, size = 96 }: { accent: string; size?: number }) {97 return (98 <svg99 height={size}100 viewBox="0 0 24 24"101 width={size}102 xmlns="http://www.w3.org/2000/svg"103 >104 <title>Claude Code</title>105 <path106 clipRule="evenodd"107 d="M20.998 10.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6 10.949h1.488V8.102H6v2.847zm10.51 0H18V8.102h-1.49v2.847z"108// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from remocn
All 277 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| UI Accordionaccordion | remocn | Components | Free | 1 dep · 2 files | |
| UI AI Prompt Flowai-prompt-flow | remocn | Components | Free | 1 dep | |
| UI Alert Dialogalert-dialog | remocn | Components | Free | 1 dep · 2 files | |
| Animated Bar Chartanimated-bar-chart | remocn | Components | Free | 1 dep | |
| Animated Line Chartanimated-line-chart | remocn | Components | Free | 1 dep | |
| ASCII Dissolveascii-dissolve | remocn | Components | Free | 2 deps | |
| ASCII Renderascii-render | remocn | Components | Free | 1 dep | |
| Backdropbackdrop | remocn | Components | Free | 1 dep |
