File Cards
Data and metricsMITFile/document preview card grid with type icon, size, and metadata.
bun add @otfdashkit/ui
Preview
File CardsData and metrics
Code
@otfdashkit/uiimport { FileCards } from '@otfdashkit/ui'
export function Example() {
return (
<div className="max-w-2xl p-4"><FileCards /></div>
)
}
Free with the SDK. This block ships in @otfdashkit/ui under the MIT license.
Props
Props declared in the FileCards source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | ||
| files | FileItem[] |