Collection of theme-ui and external components.
Theme UI
created:3/15/2021
updated:3/15/2021
source lines:15
comments %:60

Subtitle

This is subtitle

@component-controls/components
3.4.5

h2
level heading with faded text and font-weight 400.

import { Subtitle } from '@component-controls/components';

Overview

Subtitle text

Name
Description
Default
Controls
children

text to be displayed in the component.

string | (string & {}) | (string & ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<...>)>) | (string & ReactNodeArray) | (string & ReactPortal)
-

Name
Description
Default
SubtitleOwnProps (2 properties)
children

text to be displayed in the component.

string | (string & {}) | (string & ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<...>)>) | (string & ReactNodeArray) | (string & ReactPortal)
-
as

DOM node type to render as. By default h3.

h2h1h3h4h5
-
- (1 properties)
SpaceProps (28 properties)
HTMLAttributes (44 properties)
Attributes (1 properties)
AriaAttributes (48 properties)
DOMAttributes (161 properties)
BoxOwnProps (3 properties)
BackgroundColorProps (2 properties)
OpacityProps (1 properties)

package
imports
peer
react
^17.0.1
ReactFC
*
theme-ui
^0.6.0-alpha.7
HeadingPropsHeading