Utility
AI
Terminal
Installation
$ pnpm dlx shadcn@latest add @termcn/splash-screen
Usage
import { SplashScreen } from "@/components/ui/splash-screen";<SplashScreen
title="MyCLI"
subtitle="The modern developer toolkit"
author={{ name: "Jane Doe", href: "https://example.com" }}
statusLine={<Text color="green">● Ready on port 3000</Text>}
/>API Reference
SplashScreen
| Prop | Type | Default |
|---|---|---|
title | string | required |
font | "block" | "simple" | "block" |
titleColor | string | - |
titleColorAlt | string | - |
bold | boolean | true |
subtitle | string | - |
subtitleDim | boolean | true |
author | { name: string; href?: string } | - |
statusLine | ReactNode | - |
padding | number | 2 |
align | "left" | "center" | - |