Home / File/ card-small.tsx — ui Source File

card-small.tsx — ui Source File

Architecture documentation for card-small.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  78cad47c_9f15_c5f2_4f96_e873dfb01bb9["card-small.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  78cad47c_9f15_c5f2_4f96_e873dfb01bb9 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  a66f2388_87f1_5188_51e6_9a4b91cfd618["card"]
  78cad47c_9f15_c5f2_4f96_e873dfb01bb9 --> a66f2388_87f1_5188_51e6_9a4b91cfd618
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  78cad47c_9f15_c5f2_4f96_e873dfb01bb9 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 78cad47c_9f15_c5f2_4f96_e873dfb01bb9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/base/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/examples/base/ui/card"
import { ChevronRightIcon } from "lucide-react"

export function CardSmall() {
  const featureName = "Scheduled reports"

  return (
    <Card size="sm" className="mx-auto w-full max-w-xs">
      <CardHeader>
        <CardTitle>{featureName}</CardTitle>
        <CardDescription>
          Weekly snapshots. No more manual exports.
        </CardDescription>
      </CardHeader>
      <CardContent>
        <ul className="grid gap-2 py-2 text-sm">
          <li className="flex gap-2">
            <ChevronRightIcon className="text-muted-foreground mt-0.5 size-4 shrink-0" />
            <span>Choose a schedule (daily, or weekly).</span>
          </li>
          <li className="flex gap-2">
            <ChevronRightIcon className="text-muted-foreground mt-0.5 size-4 shrink-0" />
            <span>Send to channels or specific teammates.</span>
          </li>
          <li className="flex gap-2">
            <ChevronRightIcon className="text-muted-foreground mt-0.5 size-4 shrink-0" />
            <span>Include charts, tables, and key metrics.</span>
          </li>
        </ul>
      </CardContent>
      <CardFooter className="flex-col gap-2">
        <Button size="sm" className="w-full">
          Set up scheduled reports
        </Button>
        <Button variant="outline" size="sm" className="w-full">
          See what&apos;s new
        </Button>
      </CardFooter>
    </Card>
  )
}

Subdomains

Functions

Dependencies

  • button
  • card
  • lucide-react

Frequently Asked Questions

What does card-small.tsx do?
card-small.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in card-small.tsx?
card-small.tsx defines 1 function(s): CardSmall.
What does card-small.tsx depend on?
card-small.tsx imports 3 module(s): button, card, lucide-react.
Where is card-small.tsx in the architecture?
card-small.tsx is located at apps/v4/examples/base/card-small.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/base).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free