shadowTitle is a text component that sets the title for a toolbar. It can be used to describe the screen or section a user is currently on or the app being used.
The large title will display when the content is scrolled to the start of the scroll container. When the title is scrolled behind the header, the condensed title will fade in.
This feature is only available for iOS.
The buttons component can be used with the collapse
property to additionally display in the header as the toolbar is collapsed.
The collapsible large title should appear seamless in relation to the rest of your content. This means that the background color of the toolbar containing the collapsible large title should always match the background color of the content.
By default, the toolbar that contains the standard title is hidden using opacity: 0
and is progressively shown as you collapse the large title by scrolling. As a result, the background color that you see behind the standard title is actually the background color of the content.
You can change the background color of the toolbar with the standard title by setting the --background
CSS variable. This will give the effect of the header changing color as you collapse the large title.
When styling the text color of the large title, you should target the large title globally as opposed to within the context of a particular page or tab, otherwise its styles will not be applied during the navigation animation.
Description | The color to use from your application's color palette. Default options are: "primary" , "secondary" , "tertiary" , "success" , "warning" , "danger" , "light" , "medium" , and "dark" . For more information on colors, see theming. |
Attribute | color |
Type | "danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string & Record<never, never> | undefined |
Default | undefined |
Description | ツールバーのタイトルの大きさを指定します。 |
Attribute | size |
Type | "large" | "small" | undefined |
Default | undefined |
No events available for this component.
No public methods available for this component.
No CSS shadow parts available for this component.
Name | Description |
---|
--color | タイトルの文字色 |
No slots available for this component.