Hide, switch or change the appearance of different contents through a toggle.

To apply this component set a target ID or class, then use a button to toggle.

Multiple items


Toggle classes

On Card components, toggling the various styles.
  • Drop a Card into the Toggle stack and give it a class name of your choice, example my-class
  • Enter the same class in Toggle target class field
  • Check the toggle class option and enter a card class or a class of your own.
  • In this example we are using the UIkit Card class uk-card-secondary
Custom class