Author: dekode

  • Toggle block

    Toggle block

    Simple blocs to toggle visibility of content. Block example: T2 Facta The block is slightly different. Features – Toggle visibility of content blocks – Accordion style toggles – Customizable toggle labels – Accsessible and keyboard-navigable – Supports library.json config (see example below). – Auto variation registration via Dekode Library Config. – Anchor support. library.json example

  • Carousel wrapper

    Carousel wrapper

    Basic example A wrapper block to make an easy carousel with your desired inner blocks. It will make a wrapper block, a slide block and then you can choose the innerblock. It will automatically add swiper pagination and navigation. The navigation buttons is the t2 chevron left and right. Note: This is a very barebone…

  • Card template

    Card template

    A simple card wrapper that allow to add custom content inside a card. The idea is to simplify the process of creating a card block with a predefined layout. By default, the block block does not have any styling.