preskok/ui

Grid List

Browse and select items arranged in a grid with optional drag-and-drop and multi-select.

Installation

pnpm dlx @preskok-org/ui@latest add grid-list

Usage

import {
  GridList,
  GridListItem,
} from "@/registry/preskok/ui/preskok-ui/grid-list"
 
export function Example() {
  return (
    <GridList aria-label="Items">
      <GridListItem id="a">A</GridListItem>
      <GridListItem id="b">B</GridListItem>
    </GridList>
  )
}