Skip to content

Heading

TODO: Interactive example does not work for some reason

Interfaces

HeadingProps

Defined in: packages/solid/src/components/typography/heading/heading.types.ts:7

The Heading component properties.

Extends

  • unknown<JSX.HTMLAttributes<HTMLHeadingElement>>.ParentProps

Properties

children?

optional children: Element

Defined in: node_modules/.pnpm/solid-js@1.9.10/node_modules/solid-js/types/render/component.d.ts:28

Inherited from

ParentProps.children

level

level: 1 | 2 | 3 | 4 | 5 | 6

Defined in: packages/solid/src/components/typography/heading/heading.types.ts:12

The level of the heading.

Variables

Heading

const Heading: Component<HeadingProps>

Defined in: packages/solid/src/components/typography/heading/heading.component.tsx:10

A component that represents a heading. Supports heading levels 1-6.

Param

HeadingProps

Returns

The heading component.