Skip to content
PropDefaultType
as
'span'
AsTag | Component

The element or component this component should render as. Can be overwrite by asChild

asChild
boolean

Change the default rendered element for the one passed as a child, merging their props and behavior.

Read our Composition guide for more details.

type*
'month' | 'year' | 'literal'

The heading segment value type

value*
string

The value of the heading segment