ProjectsGrid

Card grid of project tiles with name, optional description, timestamp, and icon. Compound: ProjectsGrid + Header + Body + Item.

Preview

Usage

import { ProjectsGrid } from '@ramtt/ui'

<ProjectsGrid>
  <ProjectsGrid.Header title="Projects" />
  <ProjectsGrid.Body columns={3}>
    <ProjectsGrid.Item name="FTP build" description="20-week aerobic block" timestamp="Updated 2h ago" />
  </ProjectsGrid.Body>
</ProjectsGrid>

Props

PropTypeDefaultDescription
columns2 | 3 | 43Grid column count (Body)
children*ReactNodeHeader + Body composition
classNamestringAdditional Tailwind classes