🠄 Back

Accordion Forge

User Guide & Interface Walkthrough

1. What Is Accordion Forge?

Accordion Forge is a visual accordion builder created with Vanilla JavaScript, CSS Grid, and HTML. It allows you to:

Illustration — Main Workspace Layout

Live Preview + Export Area

Accordion Item #1 â–¼
This is a preview of the accordion content.

Generated export code appears here.

2. Adding Accordion Items

To create a new accordion section:

Step 1: Click the + Add New Accordion Item button.
Step 2: A new item card appears in the sidebar.
Step 3: Edit:
  • Button Text
  • Panel Content
  • Optional Image Upload
Illustration — Item Entry Card

Delete Item

Button Text → "FAQ Section"

Panel Content → "This is the answer..."

Image Upload → Choose image file

3. Customizing the Design

The Design Suite allows complete visual control over the accordion.

Available Design Controls

Illustration — Design Suite

Accordion Width: 600px

Button BG: White

Button Text: Dark Gray

Panel BG: Light Gray

Panel Text: Medium Gray

4. Typography & Spacing

Typography controls affect the appearance of all accordion buttons.

Typography Options

Spacing Controls

Illustration — Padding Layout
Margin
Padding Area

5. Border Workshop

The Border Workshop controls the accordion border styling.

Illustration — Border Styles
Solid
Dashed
Dotted
Double

6. Accordion Behavior Modes

Accordion Forge supports two interaction modes.

Independent Mode

Multiple accordion panels can remain open simultaneously.

Exclusive Mode

Opening one panel automatically closes the others.

Illustration — Behavior Logic

Independent:

✔ Item 1 Open

✔ Item 2 Open


Exclusive:

✔ Item 1 Open

✖ Item 2 Closed Automatically

7. Live Preview System

Every change updates instantly in the preview window.

The preview system dynamically:

8. Exporting Your Accordion

Accordion Forge automatically generates complete export-ready code.

Export Options

Illustration — Export Zone
<!-- HTML --> <div id="forge-acc-wrapper"> ... </div> <style> ... </style> <script> ... </script>

9. Technical Architecture

Accordion Forge is built entirely with:

Key architectural features:

10. Quick Workflow Summary

1. Add accordion items
2. Edit text and content
3. Upload optional images
4. Customize design and typography
5. Select accordion behavior
6. Preview live updates
7. Copy or download the generated code