Skip to content

Route Component

A route component.

Properties

NameTypeDefaultDescription
editablebooleanfalseThe size of the row. Defaults to standard.
leading-icon'circle' | 'square' | 'plus''circle'Indicates whether the row is navigable (clickable).
ordinal'first' | 'middle' | 'last''first'Indicates whether the row is navigable (clickable).

Slots

NameDescription
contentthe content slot of the row

CSS Properties

TokenDefaultDescription
--tap-font-family--tap-sys-font-familyThe font family used in the row.
--tap-row-background-color--tap-palette-whiteThe background color of the row.
--tap-row-leading-vertical-padding-The vertical padding for the leading slot.
--tap-row-leading-horizontal-padding--tap-sys-spacing-4The horizontal padding for the leading slot.
--tap-row-content-padding--tap-sys-spacing-4The padding for the content slot.
--tap-row-trailing-vertical-padding-The vertical padding for the trailing slot.
--tap-row-trailing-horizontal-padding--tap-sys-spacing-4The horizontal padding for the trailing slot.
--tap-row-standard-height--tap-sys-spacing-13The height of the standard size row.
--tap-row-compact-height--tap-sys-spacing-12The height of the compact size row.

Events

NameDescription
slotchangeDispatched when the content of any slot changes.