Nativebase logo
NativeBase
Heading
Headings are used for rendering headlines. Heading composes  so you can use all the style props.
Import
Copy
import { Heading } from 'native-base';
Example
Basic
Playground
Sizes
Playground
Truncate
Playground
Override
Playground
Composition
Playground
Props
size
The size of the heading.
Type: number | "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
Default: xl
Styling
NativeBase ships with a default theme for each component. Checkout the default theme of heading.
Info: We can easily extend the heading component theme using extendTheme function as described in the documentation .
Nativebase logo
MadeWithNativeBase