Banner
Options
Basic usage
html
Copyhtml
Copyhtml
Copyhtml
Copyhtml
Copyhtml
CopyVisual states
html
CopyComponent colors
html
CopyGradients
Banners support named gradient backgrounds such as --gradient-sunrise and a matching gradient for every --color-* modifier, such as --gradient-celeste-lightest. Gradients use 165deg by default and accept the directional suffixes -to-right, -to-left, -to-top, and -to-bottom. Gradients pair particularly well with the --hero variant.
html
CopyDemo controls
Indent
Small
html
CopyLarge
html
CopyLinks
To make the banner clickable, the following structure can be used:
html
Copyhtml
CopyStyles
Strong
html
Copyhtml
CopyPlain
html
CopySimple
html
CopyHero
html
CopyExamples
Website banner
html
CopyUser-console hero
html
CopyBanner with buttons
html
CopyManifest
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.41.0/ds-banner/manifest.json?v=3.41.0
manifest.json
Copy