Notifications

Collapse

How it works

Toggle the visibility of content across your project with a few classes and our JavaScript plugins.

Basic Example

Click the buttons below to show and hide another element via class changes:

  • .collapse hides content
  • .collapsing is applied during transitions
  • .collapse.show shows content

Generally, we recommend using a button with the data-bs-target attribute. While not recommended from a semantic point of view, you can also use a link with the href attribute (and a role="button"). In both cases, the data-bs-toggle="collapse" is required.

Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
Horizontal

The collapse plugin also supports horizontal collapsing. Add the .collapse-horizontal modifier class to transition the width instead of height and set a width on the immediate child element. Feel free to write your own custom Sass, use inline styles, or use our width utilities.

This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered.
Multiple targets

Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
Need a Help?

Support at pixelwibes@gmail.com

Join our developers community to find answer to your question and help others.
Helpful Links
  • Assigned Tasks View All
  • 158
    1/5 Pending
  • 17
    3/5 Completed
  • 43
    4/5 On Hold
  • 27
    2/5 In Progress
  • Latest Tasks
    1. HR Dashboard
      Tempor fames sapien tristique bibendum per quisque senectus.
      friend friend
      Feedback
    2. Logo Design
      Create new logo in Figma file
      friend friend friend
      New
    3. Hospital App
      the logo of the company you are applying to and an image.
      Feedback
    4. CRM Project
      Convallis mollis porttitor nisi dis adipiscing.
      Changes
  1. comments Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  2. comments Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  3. BOOM!

  • Outgoing Emails View All
  • 158
    1/5 Sending
  • 752
    1/5 Sent
  • 125
    1/5 Delivered
  • 42
    1/5 Failed
  • Latest message View All
    • Avatar
      Github 8 minutes ago

      Where are we in terms of design?

    • Avatar
      Themeforest 12 minutes ago

      Where are we in terms of design?

    • Avatar
      Paybee inc. 22 minutes ago

      Where are we in terms of design?

    • Avatar
      Github 28 minutes ago

      Where are we in terms of design?

Template Setting
Template Site map url