Skip to content

📷 Dynamic photo carousel and tabulated data view created app card created with HubSpot's UI Extensions

License

Notifications You must be signed in to change notification settings

hubspotdev/uie-tabbed-product-carousel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tabbed Product Carousel

A HubSpot UI Extensions app card that displays product information in a tabbed interface with an image carousel, allowing users to browse through device specifications and photos.

Completed product carousel card using HubSpot's UI Extensions

Overview

This private app card, built with UI Extensions, combines a dynamic photo carousel with a tabbed interface that displays device information in list format.

Project Structure

The main extension logic lives in src/app/extensions/ProductRecord.tsx, which is the entry point and container component. The UI is broken down into components stored in the components directory, including:

  • PhotoCarousel for dynamic photo carousel
  • ProductSpecsTabs for the description lists containing device specs and information

Installing the App Card

Requirements

There are a few things that must be set up before you can make use of this project.

Running the HubSpot Private App Locally

  1. Initialize the project to generate the hubspot.config.yml file which contains the account information needed to run the project. Follow the prompts, select your developer account, and generate a personal access key.
hs init
  1. Upload the project to your HubSpot account.
hs project upload
  1. Navigate to the app card extensions directory (src/app/extensions) and install the dependencies.
npm install
  1. Start the server for local development.
hs project dev

Note

When making changes to configuration files ({CARD_NAME}-card.json and app.json), be sure to stop the development server and use hs project upload to update the project before restarting the development server.

Viewing the App Card

This card is configured to be viewed on Ticket records. To view the card for development, navigate to any Ticket record and select Customize record. Select the view you'd like to update from the table and choose Add cards.

Adding the Product Carousel to the dashboard of a Ticket object in HubSpot's CRM

Using the Product Carousel Card

This app card allows you to select one of five devices from a drop-down list. When a device is selected, you can browse through a carousel of images and view data about it, separated into tabs.

Learn More About App Cards Powered by UI Extensions

To learn more about building public app cards, visit the HubSpot app cards landing page and check out the HubSpot private app cards developer documentation.


Created By: Bree Hall & Paul Gaskin

About

📷 Dynamic photo carousel and tabulated data view created app card created with HubSpot's UI Extensions

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published