home chevron_right Components
Widget

`fuse-widget` is a custom built Fuse component allows to create flippable widget boxes.

## Sample

Widget title
Widget Content
More widget info

## Usage

<fuse-widget class="" fxLayout="column" fxFlex="100" fxFlex.gt-xs="50" fxFlex.gt-md="25"> <!-- Front --> <div class="fuse-widget-front mat-white-bg mat-elevation-z2"> <div class="pl-16 pr-8 py-16 h-52" fxLayout="row" fxLayoutAlign="space-between center"> <div>Widget title</div> <button mat-icon-button fuseWidgetToggle aria-label="more"> <mat-icon>more_vert</mat-icon> </button> </div> <div class="pt-8 pb-32" fxLayout="column" fxLayoutAlign="center center"> Widget Content </div> </div> <!-- / Front --> <!-- Back --> <div class="fuse-widget-back p-16 pt-32 mat-white-bg mat-elevation-z2"> <button mat-icon-button fuseWidgetToggle class="fuse-widget-flip-button" aria-label="Flip widget"> <mat-icon class="s-16">close</mat-icon> </button> <div> More widget info </div> </div> <!-- / Back --> </fuse-widget>