Skip to content

File Cards

Data and metricsMIT
View in Storybook

File/document preview card grid with type icon, size, and metadata.

bun add @otfdashkit/ui

Preview

File Cards

Code

import { 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.

PropTypeDefaultDescription
classNamestring
filesFileItem[]