Skip to content

Navbar

Navbar is used to show a navigation bar on the top of the page.

Link to DaisyUI documentation

Properties

Property Required Type Description
title Yes str
title-href No str
color No str (one of: primary, secondary, accent, neutral, success, warning, info, error)
sidebar-toggle No str
sidebar-toggle-responsive No str (one of: xs, sm, md, lg, xl)
Any additional properties No any

Children

Accepts any HTML content

Examples

<{Navbar}>

</{Navbar}>