Skip to content

Image List ​

Loading...

<flint-image-list-item-bar> ​

A title/subtitle bar for flint-image-list-item.

  • Tag: <flint-image-list-item-bar>
  • Class: FlintImageListItemBar

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintImageListItemBar } from '@getufy/flint-ui';

Usage ​

html
<flint-image-list-item-bar></flint-image-list-item-bar>

Properties ​

PropertyAttributeTypeDefaultDescription
positionposition'bottom' | 'top' | 'below''bottom'Position hint for styling: 'bottom' (default overlay), 'top' (overlay), or 'below' (solid)

Slots ​

NameDescription
titleTitle text.
subtitleSubtitle text.
(default)Action content.

CSS Parts ​

NameDescription
actionThe action element.
baseThe component's base wrapper element.
contentThe content container.
subtitleThe subtitle element.
titleThe title element.

CSS Custom Properties ​

PropertyDefault
--flint-image-bar-overlay-textvar(--flint-text-color-on-primary
--flint-font-family—
--flint-surface-1—
--flint-text-color—
--flint-border-color—
--flint-image-fitcover

<flint-image-list-item> ​

A single item inside a flint-image-list.

  • Tag: <flint-image-list-item>
  • Class: FlintImageListItem

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintImageListItem } from '@getufy/flint-ui';

Usage ​

html
<flint-image-list-item></flint-image-list-item>

Properties ​

PropertyAttributeTypeDefaultDescription
rowsrowsnumber1How many grid rows this item spans (quilted/woven only)
colscolsnumber1How many grid columns this item spans (quilted/woven only)
barPositionbar-position'overlay' | 'below''overlay'Position of the title bar: 'overlay' (default) or 'below'
weaveweave'odd' | 'even''odd'Woven variant: 'odd' or 'even' identity for alternating height
aspectRatioaspect-ratiostring'auto'CSS aspect-ratio for the cell (e.g. "1/1", "4/3", "3/4", "16/9", "9/16").
fitfitImageFit'cover'How the image fills the cell: 'cover' (default, crops to fill)

Slots ​

NameDescription
(default)Place an &lt;img&gt; or any content here.
barPlace a flint-image-list-item-bar element here.

CSS Parts ​

NameDescription
baseThe component's base wrapper element.

<flint-image-list> ​

A container that displays images in an organized grid layout. Supports standard, quilted, woven, and masonry variants.

  • Tag: <flint-image-list>
  • Class: FlintImageList

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintImageList } from '@getufy/flint-ui';

Usage ​

html
<flint-image-list></flint-image-list>

Properties ​

PropertyAttributeTypeDefaultDescription
variantvariantImageListVariant'standard'Layout variant
colscolsnumber3Number of columns
gapgapnumber4Gap between items (in px)
rowHeightrowHeightnumber164Row height for non-masonry variants (in px). Ignored when autoRows=true.
autoRowsautoRowsbooleanfalseWhen true, row height is automatic (use with bar-position="below")

Slots ​

NameDescription
(default)Place flint-image-list-item elements here.

CSS Parts ​

NameDescription
baseThe component's base wrapper element.

CSS Custom Properties ​

PropertyDefault
--flint-image-list-gap4px
--flint-image-list-row-height164px