Header

Stencil

Used as placeholders for content while loading pages

Usage

import { Stencil } from '@cleartrip/bento'

Playground

className

string

Additional classes to be added to the component

children

node

Any content to put inside of the stencil

height

string

Height of the stencil

width

string

Width of the stencil

type

string

Either a block or inline

shimmer

bool

Adds a shimmer to the placeholders

True
False

dark

bool

Invert colors of stencil for dark backgrounds

True
False