Customize Use custom style

Use custom style

Customize flowbite-angular's component style by providing a custom style per component.


Passing customTheme values

For each component call, you can pass a customTheme value.

<div flowbiteAlert [customTheme]="{ root: { base: 'bg-black' } }">
    Hello World!
</div>

You can then pass TailwindCSS classes, following the component's base theme. If one or more keys are not filled in the customTheme, the component falls back to its base styles.

Flowbite Logo Flowbite

© 2019-2025 Flowbite™ is a registered trademark. All Rights Reserved.