Angular PrimeNG Media Complete Reference

Last Updated : 23 Jul, 2025

Angular PrimeNG Media facilitates the various components, such as Carousel, Galleria, & Image components, that help to design & display a better user interface for the website. This also helps to enhance the overall user experience, along with engaging the user to the site.

The complete list of Media Components is listed below with their brief description:

Carousel Component

The Carousel is a content slider component where an array of data is shown sequentially either manually or automatically.

Components

Descriptions

Carousel BasicAngular PrimeNG Basic Carousel is used to render the basic carousel. The carousel is a slider-type component that offers high customization.
Carousel VerticalWe can make the carousel vertical by setting the orientation to vertical. The default layout of the Carousel is horizontal.
Carousel Items Per Page and Scroll ItemsThe number of items per page is defined using the numVisible property whereas the number of items to scroll is defined with the numScroll property.
Carousel ResponsiveAngular PrimeNG Carousel Responsive for responsive design based on screen size, numVisible, and numScroll can be defined using the responsiveOptions property
Carousel Header and FooterWe can make custom properties of the Carousel using a header and footer.
Carousel OrientationCarousel provides two types of orientation i.e. horizontal and vertical which can be set using property orientation.
Carousel AutoPlay and CircularTo scroll the Carousel automatically, we can define time in property autoplayInterval. Time is in milliseconds.
Carousel PropertiesAngular PrimeNG Carousel Properties value, page, style, styleClass, circular, etc.
Carousel EventsThe onPage(event) is the callback to invoke after scroll.
Carousel TemplatesThe Carousel Templates are used to place the different components in the Carousel component.
Carousel StylingThe Carousel in Angular PrimeNG provides great customization with different styling options that can be used to create dynamic carousels, along with enhancing the overall user experience.

Galleria Component

Angular PrimeNG Galleria is an advanced content gallery component. It is used for displaying images in an attractive manner. Let us learn about this using some examples.

Components

Descriptions

Galleria DocumentaionThe Galleria in Angular PrimeNG is an advanced content gallery component & can be used for displaying images in an attractive manner.
Galleria ProgrammaticThe Galleria Programmatic can be utilized to control programmatically using the activeIndex property.
Galleria IndicatorThe Galleria Indicator allows users to navigate quickly through the Galleria items.
Galleria ThumbnailThumbnails in the Galleria component can be positioned at the top, bottom, left, or right and are enabled by default.
Galleria NavigatorNavigators are used for navigating to the other items of the Galleria component.
Galleria ResponsiveThe Responsive is used to set the number of images visible in the thumbnails based on the screen size.
Galleria FullScreenWhen the Galleria component is in fullscreen mode, a blackish mask covers the whole page, and the content is displayed over that mask.
Galleria AutoPlayIn autoplay mode, the active item of the galleria component changes automatically after a definer time.
Galleria CaptionThe caption of an item consists of the tile and the description.
Galleria AdvancedAngular PrimeNG Galleria is an advanced content gallery component. It is used for displaying images in an attractive manner. Let us learn about this using some examples.

Image Component

The Image component is used to display images and PrimeNG provides many transforming features and options so that we can display images according to our choice and design.

Components

Descriptions

Image BasicThe Image component is used to show a single image to the user with the preview and basic transformations.
Image PreviewTo enable the image property we have to set the preview property of the Image component to true.
Image Indicator TemplatingThe indicator template is used to customize the content of the overlay which is visible when we hover over the image whose preview is enabled.
Image PropertiesThe Image component is used to show a single image to the user with the preview and basic transformations.
Image EventsThe image component has 3 events named onShow, onHide, and onImageError
Image TemplatesThis template is used to set the indicator content for the image.
Image StylingImage Styling enables us to modify the default styles and customize them accordingly.
Comment

Explore