How can we help you today?

How to Create SharePoint Accordion Using the Accordions Design Element

This article will walk you through using the Accordions Design Element to create a SharePoint Accordion.


Accordions


TABLE OF CONTENTS


Prerequisite

  • You have the latest version of ShortPoint SPFx installed on your SharePoint environment.
  • You are a ShortPoint Designer with an active license.

Interactive Tutorial

Click Get Started to learn how to customize the Accordions Design Element:



NOTECheck out Accordions Features to learn more about the OOTB options you can customize.

Step-by-step Tutorial

Follow the steps below for a detailed guide on how to customize the Accordions Design Element:


Step 1: Edit the ShortPoint Web Part

  • Go to the SharePoint page you want to use and click Edit.


Edit

  • Click the ShortPoint tag.
  • Select the pencil icon.

Step 2: Insert the Accordions Design Element

  • Click the plus icon.
  • Use the search box to look for Accordions and click it.

Step 3: Edit the items in the Accordions

  • Navigate to the Items tab.
  • Click the cogwheel icon of the first item.


cogwheel icon


  • Add a Title.
  • Delete default item content.


NOTEYou can opt to add your own content in the Content field if you only want to have text inside your Accordions. However, if you want to insert a separate Design Element, you need to delete the default content and follow the next steps.

content field


  • Click the back icon to edit the other items.


back icon

  • Repeat the steps above.
  • (Optional) If you want to add other items, click Add New. Then, repeat the same steps above to edit the new item's content.


Add New


NOTEYou can also create dynamic Accordions content. Check out ShortPoint Connect: Basic Tutorial.

Step 4: Customize the Tabs’ design

  • Navigate to the Design tab.
  • Customize the design of the Accordions according to your preference.
  • Click the green check mark once you are satisfied with your edits.


NOTECheck out Accordions Features to learn more about the OOTB options you can customize.

Step 5: Add content 

  • Click the Accordions tag.


Accordions tag


  • Select the item where you want to add content.


select item


  • Click the plus icon inside the item.


plus icon

  • Use the search bar to look for the Design Element you want to use and click it.
  • Customize the selected Design Element according to your preference.

Step 6: Save

  • Then, click the eye icon to see your page in real-time.


eye icon


  • Click Save to apply all your changes.


Save


Amazing! You can now create a SharePoint Accordion. Make the most of the Accordions Design Element with these amazing features.


Accordions Features

Below are the tabs you can find in the Accordions Settings window:


A. Items tab

The Items tab allows you to duplicate, delete, configure content, and add new items. It has the following options:


Items tab


ITEMS ACTION ICONS

cogwheel iconCogwheelopens a new window that allows you to edit the content of each item. See the table below for the cogwheel icon settings.
Duplicate iconDuplicateduplicates the item selected.
Trash iconTrashdeletes the item selected.
Add NewAdd Newadds a new item.
Drag and dropDrag and Dropallows you to re-arrange the position of the item.


COGWHEEL ICON SETTINGS


Title
Title
add item title.
ContentContent
allows you to add text content inside each item.

B. Design tab

The Design tab allows you to customize the design of the Tabs Design Element. It has the following options:


Design tab


SETTINGS

Title colorTitle Colorallows you to customize the color of the Title. By default, it is set to the primary color.
Title hover colorTitle Hover Color
allows you to modify the hover color of the items.
Title text sizeTitle Text Sizeallows you to customize the text size of the Title.

Hide divider
Hide dividerwhen enabled, this will remove the divider between each item in the Accordions.


ICONS

Collapse IconCollapse Icon
allows you to choose the icon that is shown when the accordion is closed.
Expand IconExpand Icon
allows you to choose the icon that is shown when the accordion is open.

Icon Location
Icon Locationallows you to modify the location of the icon. You can choose from Default, Right, or Left.



C. Connect Tab

The Connect tab allows you to link the Design Element to SharePoint sources (List, Document Library, News, etc.) and other external sources (Microsoft Graph API, Teams, Outlook, etc.). For more details about ShortPoint Connect, check out Basic Tutorial: How to Establish Seamless SharePoint Connection with ShortPoint Connect.


Connect tab


D. Visibility Tab

The Visibility tab allows you to specify who can see the Design Element and what type of devices it can be shown on. For more details, check out How to Use the ShortPoint Visibility Feature for Effective SharePoint Access Management.


Visibility tab


E. Custom CSS Tab

This tab allows you to use your own CSS, HTML, and Javascript code to customize the Accordions Design Element.


NOTECheck out our support article on How to Insert Custom CSS into a Page Builder Element? (Basic Tutorial) to know more about Custom CSS.


Custom CSS tab


Related articles:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 73 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more