ITitleProps

interface
Component Props

Props contract for <OrigamTitle>. Semantic heading component with configurable HTML tag, text shorthand, and the full color/bgColor/density/spacing/border surface.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

text
string
Text content rendered as the heading. Equivalent to the default slot when no slot content is provided.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

h2 heading with primary color

vue