Banner

Have something big to say? Do it in style with our Banner. Great for spotlighting essential details with a hint of flair

Example

Small size

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam

Defaults
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
Large size

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam

With border & no shadow

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam

1import { Banner } from '@sugarcoat/ui';
2
3<Banner size='sm'>
4 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
5</Banner>
6
7<Banner>
8 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
9</Banner>
10
11<Banner size='lg'>
12 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
13</Banner>
14
15<Banner border='solid' shadow='none'>
16 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
17</Banner>
18

Component Properties

Banner
PropTypeDefaultExplanation
sizeenummd

There are 3 sizes available - small, medium and large.

colorenumdefault

The color of the Banner component.

borderbooleanfalse

Add border to the Banner component.

shadowbooleantrue

Add shadow to the Banner component.

Customize The Look
Check out these sample themes
Or create your ownBrand color
Accent color
Neutral color
Border radius