Soracom

Design System
  1. Home
  2. Design system
  3. Elements
  4. Heading

Heading

Heading is a general component for styling heading content

Options

Basic usage

html
Copy

HTML H1-H6 defaults

SDS sets the standard html heading elements (h1-h6) to a default set of styles.

SampleElementTypefaceSize

空色 Sky blue

H1Aeonik--3xlarge

空色 Sky blue

H2Aeonik--2xlarge

空色 Sky blue

H3Source--xlarge

空色 Sky blue

H4Source--medium
空色 Sky blue
H5Source--small
空色 Sky blue
H6Source--xsmall

Size and weight classes

html
Copy

Normal weights

SampleTypefaceClass
空色 Sky blueAeonik--4xhuge
空色 Sky blueAeonik--3xhuge
空色 Sky blueAeonik--2xhuge
空色 Sky blueAeonik--xhuge
空色 Sky blueAeonik--huge
空色 Sky blueAeonik--4xlarge
空色 Sky blueAeonik--3xlarge
空色 Sky blueAeonik--2xlarge
空色 Sky blueAeonik--xlarge
空色 Sky blueSource--large
空色 Sky blueSource--medium
空色 Sky blueSource--small
空色 Sky blueSource--xsmall
空色 Sky blueSource--2xsmall
空色 Sky blueSource--3xsmall
空色 Sky blueSource--4xsmall

Bold weights

SampleTypefaceClass
空色 Sky blueAeonik--4xhuge-bold
空色 Sky blueAeonik--3xhuge-bold
空色 Sky blueAeonik--2xhuge-bold
空色 Sky blueAeonik--xhuge-bold
空色 Sky blueAeonik--huge-bold
空色 Sky blueAeonik--4xlarge-bold
空色 Sky blueAeonik--3xlarge-bold
空色 Sky blueAeonik--2xlarge-bold
空色 Sky blueAeonik--xlarge-bold
空色 Sky blueSource--large-bold
空色 Sky blueSource--medium-bold
空色 Sky blueSource--small-bold
空色 Sky blueSource--xsmall-bold
空色 Sky blueSource--2xsmall-bold
空色 Sky blueSource--3xsmall-bold
空色 Sky blueSource--4xsmall-bold

Visual states

html
Copy

Component colors

html
Copy

Icons

You can include an icon at the beginning of a ds-heading element by simply including an icon class:

html
Copy

If you need more control over the size, color or location of the icon, you can use an Icon component:

html
Copy

Tests

HTML heading sizes

html
Copy

All heading sizes

html
Copy

All bold heading sizes

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/latest/ds-rows/index.mjs

index.mjs
Copy