Accordion

An accordion is a UI component that organizes content into collapsible sections, allowing users to expand or collapse panels as needed. It helps keep interfaces clean by displaying only relevant information while providing quick access to additional details.

Note about gap: By default, accordions do not have any gap between panels (accordion items). If you want to add a gap, you can apply a custom gap to the ch-accordion-render element. In a future Mercury release, generic gap classes will be available, allowing you to apply them as needed.

By default, the Accordion does not include any padding. This is a general rule followed by other components in the Mercury design system. To add padding, you can use any combination of the provided CSS classes designed for this purpose. Learn more about the spacing classes on the spacing documentation page . All the examples that follow display the Accordion with padding, by applying the .spacing-body class.

1. Accordion Filled

A filled accrodion features a solid background color, making it stand out visually. It’s ideal for emphasizing important sections or ensuring the accordion content is clearly distinguished from the background.

1.1. Filled

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

1.2. Filled: Disabled

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

1.3. Filled With Icons

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

1.4. Filled With Icons: Disabled

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

1.5. Filled: Elevation 1 (Default)

Mercury DS provides elevation classes to help accordions stand out from their surroundings. In the accordion-filled variant, the elevation class changes the background-color of the accordion panels. When placed over a surface background (body background color), there's no need to apply the elevation-1 class, as it is the default.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

1.6. Filled: Elevation 2

Mercury DS provides elevation classes to help accordions stand out from their surroundings. Use elevation-2 when the surrounding background is elevation-1 for the right contrast. In the accordion-filled variant, the elevation class changes the background-color of the accordion panels.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

1.7. Filled: Elevation 3

Mercury DS provides elevation classes to help accordions stand out from their surroundings. Use elevation-3 when the surrounding background is elevation-2 for the right contrast. In the accordion-filled variant, the elevation class changes the background-color of the accordion panels.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

2. Accordion Filled Header

A filled header accordion applies a solid background to the header while keeping the content transparent. It highlights section titles without adding visual weight to the content.

2.1. Filled Header

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

2.2. Filled Header: Disabled

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

2.3. Filled Header With Icons

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

2.4. Filled Header With Icons: Disabled

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

2.5. Filled Header: Elevation 1 (Default)

Mercury DS provides elevation classes to help accordions stand out from their surroundings. In the accordion-filled variant, the elevation class changes the background-color of the accordion panels. When placed over a surface background (body background color), there's no need to apply the elevation-1 class, as it is the default.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

2.6. Filled Header: Elevation 2

Mercury DS provides elevation classes to help accordions stand out from their surroundings. Use elevation-2 when the surrounding background is elevation-1 for the right contrast. In the accordion-filled variant, the elevation class changes the background-color of the accordion panels.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

2.7. Filled Header: Elevation 3

Mercury DS provides elevation classes to help accordions stand out from their surroundings. Use elevation-3 when the surrounding background is elevation-2 for the right contrast. In the accordion-filled variant, the elevation class changes the background-color of the accordion panels.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

3. Accordion Outlined

An outlined accordion features a border without a solid background, giving it a more subtle look compared to the filled version. It's perfect for when a less intrusive, cleaner appearance is preferred while still providing clear separation from the background.

3.1. Outlined

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

3.2. Outlined: Disabled

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

3.3. Outlined With Icons

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

3.4. Outlined With Icons: Disabled

The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

3.5. Outlined: Elevation 1

Mercury DS provides elevation classes to help accordions stand out from their surroundings. In the accordion-outlined variant, the elevation class changes the border-color and the background-color of the accordion panels. When placed over a surface background, there's no need to apply the elevation-1 class, as it is the default.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

3.6. Outlined: Elevation 2

Mercury DS provides elevation classes to help accordions stand out from their surroundings. Use elevation-2 when the surrounding background is elevation-1 for the right contrast. In the accordion-outlined variant, the elevation class changes the border-color and the background-color of the accordion panels.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

3.7. Outlined: Elevation 3

Mercury DS provides elevation classes to help accordions stand out from their surroundings. Use elevation-3 when the surrounding background is elevation-2 for the right contrast. In the accordion-outlined variant, the elevation class changes the border-color and the background-color of the accordion panels.


The File object in GeneXus is designed to handle file-related operations within an application. It allows developers to work with files stored locally or on a server by providing methods to upload, download, open, read, write, and manipulate files in various formats. This object is particularly useful for managing documents, images, or any other type of file interaction, making it easier to handle file-based processes within business applications.
The Domain object in GeneXus allows developers to define a specific data type with associated validation rules, formatting, and constraints, which can be reused across various parts of an application. It helps ensure consistency and standardization for commonly used data types, such as emails, phone numbers, or currencies. By creating Domains, developers can streamline application maintenance and enforce uniform data validation throughout the system.
The Procedure object in GeneXus is used to define a sequence of actions or logic that can be executed within an application. It allows developers to create reusable routines to process data, perform calculations, update databases, or call external services. Procedures can be triggered by user actions or scheduled tasks, and they offer flexibility for handling complex business logic while improving the modularity and maintainability of the application.
The Document object in GeneXus is designed to handle text-based content, such as generating, manipulating, and exporting documents in various formats like PDF, Word, or HTML. It allows developers to create dynamic reports, invoices, or other formal documents by merging static text with data from the application. The Document object is ideal for automating the creation of printable and shareable files within business workflows.

4. Common Use Cases

This section explores common use cases for both filled and outlined accordions, showcasing how each variant can be used effectively in different scenarios.


4.1. Custom Header

Use the header slot to customize the panel header with your custom content. Note that the header slot replaces the caption. Although this example is being applied on a "filled" accordion, the header slot can be applied on any accordion style.


Accoridon "item-1" slotted content goes here
Accoridon "item-2" slotted content goes here