BottomNavigation provides a predefined set of appearance options.
Apart from the default appearance of the
BottomNavigation, the following styling options allow you to configure each individual aspect of the component's appearance.
The current article provides details about how the component changes when the different configurations of its properties are applied. Here are the sections you can directly access:
The following example demonstrates configuring different aspects of a
BottomNavigation appearance using a configurator.
BottomNavigation allows you to specify its theme color by choosing a value from a pre-defined list.
themeColor values are:
primary(Default) — Applies coloring based on the primary theme color.
secondary— Applies coloring based on the secondary theme color.
tertiary— Applies coloring based on the tertiary theme color.
info— Applies coloring based on the info theme color.
success— Applies coloring based on the success theme color.
warning— Applies coloring based on the warning theme color.
error— Applies coloring based on the error theme color.
dark— Applies coloring based on the dark theme color.
light— Applies coloring based on the light theme color.
inverse— Applies coloring based on the inverted theme color.
Any other regular color can be applied via custom CSS styling by targeting the BottomNavigation through its
k-bottom-nav CSS class.
BottomNavigation enables you to set styling options and create solid or flat layout by setting the
fill values are:
flat(Default) — Sets the theme color as the text color. The background will be white.
solid— Sets the theme color as a background color.