Grid View

Open
#376 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
design, frontend

Research direction

The issue names no existing files, so start by finding how the UI kit's current components are organised and exported. Use the linked Figma node as the visual reference for the grid file tile, grid folder tile, and no-preview fallback. Done means each tile renders its preview, metadata, and indicator slots and supports default, hover, selected, drop-target, and disabled states, with the overflow menu shown only on hover.

Written by the indexing model from the issue text.

Description

Image

Introduce reusable file and folder tiles to support Drive’s new grid view. These components provide a consistent way to display previews, metadata and status indicators, with shared interaction states.

The main additions are:

  • Grid File: a file tile with a centered preview, a multiline filename and a secondary line for the file type and status indicators.
  • Grid Folder: a compact horizontal tile combining a folder icon, its name and optional status indicators.
  • Grid No Preview: a reusable fallback displaying a file-type icon when a preview is unavailable.
  • Configurable content: dedicated slots for previews and indicators, including sharing status and starred items.
  • Interaction states: default, hover, selected, drop-target and disabled variants for both file and folder tiles.
  • Contextual actions: an overflow menu button displayed on hover, keeping the default appearance uncluttered.

These components establish the visual foundation for Drive’s grid view while making the pattern reusable through the UI kit.

Figma

Dominant language
TypeScript
Stars
36
Forks
14
Avg merge
2d 10h
Merged PRs (30d)
12

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from suitenumerique/ui-kit

All issues in suitenumerique/ui-kit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.