Center Alignment
Navbar has a style variant that allows the title and links to be center aligned horizontally.
Important Notes:
It is recommended to set the spacing
prop to xsmall
when using the center
prop.
Demo
Twig
{% include '@bolt-components-navbar/navbar.twig' with {
center: true,
spacing: 'xsmall',
...
} only %}
HTML
Not available in plain HTML. Please use Twig.