Base

  • Colors
  • Icons
  • Logos
  • Shadows and Elevations
  • Spacing
  • Typography

Components

  • Accordion
  • Avatars
  • Badges
  • Buttons
  • Cards
  • Character Counter
  • Device Type Icons
  • Draggables
  • Dropdowns
  • Droppables
  • Expandable image
  • Filters
  • Gallery card
  • Icon Button
  • Indicators
  • Lightbox image
  • Lists
  • Loading
  • Messages
  • Pictogram
  • Poster Play
  • Progress bar
  • QR Code
  • Rating stars
  • Row Selector
  • Segmented Controls
  • Sentiment
  • Split View
  • Tables
  • Tags
  • Tester vitals
  • Toggle button
  • Typeahead

Form

  • Card Select
  • Checkbox
  • Combobox
  • Form Rule
  • Hint
  • Input
  • Input Title
  • Label
  • Multi-select List
  • Search
  • Select
  • Single-select List
  • Sliders
  • Switch
  • Text Area

Layout

  • Containers
  • Layers
  • Layout
  • Split Layout
  • Wrappers

Navigation

  • Context Switcher
  • Nav bar
  • Navigation
  • Pagination
  • Sidebar Navigation
  • Step Navigation
  • Tabs

Overlay

  • Banners
  • Bulk Selector
  • Modals
  • Popovers
  • Toast
  • Tooltips
  • User Notifications

Patterns

  • Full Page Message
  • Question card & Group Questions Container

Visualizations

  • Data Colors

Lightbox image

A lightbox is a UI component used to display (in this case) an image in a modal overlay appearing on top of the main content. It provides users with an immersive way to focus on content without disrupting the overall layout, while also allowing them to quickly navigate back to the content beneath the lightbox.

If you need a fullscreen modal overlay to render your content within, use the Modal component instead.

Lightbox

Expand Copy
<tk-expandable-image
  image-uri="/images/expandable-image/kitten-portrait.png"
  description="kitten-portrait.png"
  image-alt="Picture of a kitten"
  focus-text="Expand image"
></tk-expandable-image>

<tk-lightbox-image
  close-label="Close lightbox"
></tk-lightbox-image>

Lightbox with a title

Expand Copy
<tk-expandable-image
  image-uri="/images/expandable-image/kitten.png"
  description="Sample-Image.png"
  image-alt="Picture of a kitten"
  focus-text="Expand image"
></tk-expandable-image>

<tk-lightbox-image
  close-label="Close lightbox"
  title="Will a somewhat longer title placed here cause wrapping over multiple lines?"
></tk-lightbox-image>

Zoomable Lightbox with Large Image

Expand Copy
<tk-expandable-image
  image-uri="https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg"
  description="Large cat.jpg"
  image-alt="Very large image for zoom test"
  focus-text="Expand image"
></tk-expandable-image>

<tk-lightbox-image
  close-label="Close lightbox"
></tk-lightbox-image>