- Home
- Design system
- Elements
- Banner
Banner
Options
Basic usage
html
Copy
html
Copy
html
Copy
html
Copy
html
Copy
html
Copy
Visual states
html
Copy
Component colors
html
Copy
Gradients
Banners support a set of pre-defined gradient backgrounds via modifier classes like --gradient-sunrise. Gradients pair particularly well with the --hero variant.
html
Copy
Demo controls
Indent
Small
html
Copy
Large
html
Copy
Links
To make the banner clickable, the following structure can be used:
html
Copy
html
Copy
Styles
Strong
html
Copy
html
Copy
Plain
html
Copy
Simple
html
Copy
Hero
html
Copy
Examples
Website banner
html
Copy
User-console hero
html
Copy
Banner with buttons
html
Copy
Manifest
The component manifest describes this component's API: its modifiers, structure, data attributes, CSS custom properties, accessibility notes, and example markup. It is consumed by tooling such as AI assistants and code generators.
Latest version: https://assets.soracom.io/sds/3.32.1/ds-banner/manifest.json?v=3.32.1
manifest.json
Copy