Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.06 KB

Spacer.md

File metadata and controls

41 lines (30 loc) · 1.06 KB

Spacer

An invisible utility component that acts as a spacer element in various layouts. It works with flexbox sizing or fixed sizing.

Spacer used in Drawer Body

Usage

// app.module.ts
import { SpacerModule } from '@brightlayer-ui/angular-components';
...
imports: [
    SpacerModule
  ],
...
// your-component.html // using flex layout
<blui-spacer></blui-spacer>

// using pixels
<blui-spacer width="50"></blui-spacer>

API

Parent element (<blui-spacer>) attributes:

@Input Description Type Required Default
flex Flex grow/shrink value for flex layouts number no 1
height Height (in px) for static layouts number no
width Width (in px) for static layouts number no