Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt

Use this file to discover all available pages before exploring further.

The Galleria component provides a full-featured image gallery with a main viewer, thumbnail strip, navigation arrows, captions, and dot indicators. It can also operate in fullscreen mode (as a lightbox). The Nettalco preset uses semi-transparent overlays (rgba) for navigation buttons, the caption bar, and the close button, keeping the image as the visual focus regardless of the active colour scheme.

Angular Usage Example

<p-galleria
  [value]="images"
  [numVisible]="5"
  [showItemNavigators]="true"
  [showThumbnails]="true"
  [showIndicators]="false"
  [(activeIndex)]="activeIndex"
>
  <ng-template pTemplate="item" let-item>
    <img
      [src]="item.itemImageSrc"
      [alt]="item.alt"
      class="w-full max-h-[600px] object-contain"
    />
  </ng-template>

  <ng-template pTemplate="thumbnail" let-item>
    <img
      [src]="item.thumbnailImageSrc"
      [alt]="item.alt"
      class="w-16 h-12 object-cover"
    />
  </ng-template>

  <ng-template pTemplate="caption" let-item>
    <h4 class="text-white font-semibold">{{ item.title }}</h4>
    <p class="text-sm">{{ item.description }}</p>
  </ng-template>
</p-galleria>
For a fullscreen lightbox, bind [(visible)] and set [fullScreen]="true".

Design Tokens

root

TokenValue
borderWidth1px
borderColor{content.border.color}
borderRadius{content.border.radius}
transitionDuration{transition.duration}

The left/right navigation arrows overlaid on the main image.
TokenValue
backgroundrgba(255, 255, 255, 0.1)
hoverBackgroundrgba(255, 255, 255, 0.2)
color{surface.100}
hoverColor{surface.0}
size3rem
gutter0.5rem
prev.borderRadius50%
next.borderRadius50%
focusRing.width{focus.ring.width}
focusRing.style{focus.ring.style}
focusRing.color{focus.ring.color}
focusRing.offset{focus.ring.offset}
focusRing.shadow{focus.ring.shadow}
TokenValue
size1.5rem

thumbnailsContent

The strip below the main image that holds thumbnail buttons.
TokenValue
background{content.background}
padding1rem 0.25rem

thumbnailNavButton

The scroll-left / scroll-right buttons within the thumbnail strip.
TokenValue
size2rem
borderRadius{content.border.radius}
gutter0.5rem
focusRing.width{focus.ring.width}
focusRing.style{focus.ring.style}
focusRing.color{focus.ring.color}
focusRing.offset{focus.ring.offset}
focusRing.shadow{focus.ring.shadow}

Thumbnail Nav Button Color Scheme

TokenLightDark
hoverBackground{surface.100}{surface.700}
color{surface.600}{surface.400}
hoverColor{surface.700}{surface.0}

thumbnailNavButtonIcon

TokenValue
size1rem

caption

The text overlay bar at the bottom of the main image.
TokenValue
backgroundrgba(0, 0, 0, 0.5)
color{surface.100}
padding1rem

indicatorList

The container for dot indicators (when [showIndicators]="true").
TokenValue
gap0.5rem
padding1rem

indicatorButton

TokenValue
width1rem
height1rem
activeBackground{primary.color}
borderRadius50%
focusRing.width{focus.ring.width}
focusRing.style{focus.ring.style}
focusRing.color{focus.ring.color}
focusRing.offset{focus.ring.offset}
focusRing.shadow{focus.ring.shadow}

Indicator Button Color Scheme

TokenLightDark
background{surface.200}{surface.700}
hoverBackground{surface.300}{surface.600}

insetIndicatorList

Used when indicators are shown overlaid on the image.
TokenValue
backgroundrgba(0, 0, 0, 0.5)

insetIndicatorButton

TokenValue
backgroundrgba(255, 255, 255, 0.4)
hoverBackgroundrgba(255, 255, 255, 0.6)
activeBackgroundrgba(255, 255, 255, 0.9)

closeButton

The × button in fullscreen / lightbox mode.
TokenValue
size3rem
gutter0.5rem
backgroundrgba(255, 255, 255, 0.1)
hoverBackgroundrgba(255, 255, 255, 0.2)
color{surface.50}
hoverColor{surface.0}
borderRadius50%
focusRing.width{focus.ring.width}
focusRing.style{focus.ring.style}
focusRing.color{focus.ring.color}
focusRing.offset{focus.ring.offset}
focusRing.shadow{focus.ring.shadow}

closeButtonIcon

TokenValue
size1.5rem

Theme Notes

All overlay controls (nav buttons, close button) use white semi-transparent backgrounds (rgba(255, 255, 255, 0.1 / 0.2)) so they remain visible over any image without inverting in dark mode — the image itself provides the contrast surface. The insetIndicatorButton tokens follow the same pattern with higher opacity values to maintain readability.

Build docs developers (and LLMs) love