Title

Title component usually rendered inside a Header.

Sample Title

Properties

a11yTitle {string}
Custom title used by screen readers. Default is 'Title'. Only used if onClick handler is specified.
onClick {function}
Click handler.
responsive true|false
Whether to only display the logo when the display area narrows.
truncate true|false
Restrict the text to a single line and truncate with ellipsis if it is too long to all fit. Defaults to true.

Usage

import Title from 'grommet/components/Title';

<Title>
  {contents}
</Title>