[**@fungi.computer/caps**](../README.md) --- [@fungi.computer/caps](../README.md) / blocks/mosaic # blocks/mosaic ## Type Aliases ### MosaicItem ```ts type MosaicItem = object; ``` A caller-resolved visual tile. #### Properties ##### alt? ```ts optional alt?: string; ``` ##### height? ```ts optional height?: number; ``` ##### id ```ts id: string; ``` ##### disabled? ```ts optional disabled?: boolean; ``` ##### state? ```ts optional state?: "loading" | "ready" | "error"; ``` ##### url? ```ts optional url?: string; ``` ##### width? ```ts optional width?: number; ``` --- ### MosaicProps ```ts type MosaicProps = HTMLAttributes & object; ``` Props accepted by Mosaic. #### Type Declaration | Name | Type | Description | | ----------- | -------------------------------------- | ---------------------------------------------------- | | `empty?` | `ReactNode` | - | | `items` | readonly [`MosaicItem`](#mosaicitem)[] | - | | `label?` | `ReactNode` | Caller-owned accessible copy for the list. | | `onOpen()?` | (`item`) => `void` | When absent, tiles are deliberately non-interactive. | ## Variables ### Mosaic ```ts const Mosaic: ForwardRefExoticComponent< HTMLAttributes & object & RefAttributes >; ``` Renders supplied tiles only; callers resolve data, policy, and navigation.