KodeKarsa UI

Data

File Card

An attachment: type icon, name, size, and upload or download progress.

src/components/ui/file-card.tsxNo ui-sdk

Three states

Kontrak-Klinik-Sehati.pdf

1,2 MB

Aset-brand.zip

18,4 MB

Layar-jadwal@2x.png

Mengunggah Layar-jadwal@2x.png64%

Import

tsx
import { FileCard } from "@/components/ui/file-card";

Guidelines

  • Long file names are cut short, but complete on the download button.