eidos.components.navigation

NavBar(*c: Any, lcontents: air.tags.models.special.Tag | None = None, right_cls: str = 'items-center space-x-4', mobile_cls: str = '', sticky: bool = False, scrollspy: bool = False, cls: str = 'p-4', scrollspy_cls: str = 'navbar-underline', menu_id: str | None = None) -> air.tags.models.special.Tag

GitHub

Pure Tailwind responsive navigation bar with optional scrollspy.

Mobile menu uses best practice dropdown with: - Centered text links - Large touch targets - Auto-close on selection - Smooth animations

Parameters:

  • c: typing.Any
  • lcontents: air.tags.models.special.Tag | None = None
  • right_cls: <class 'str'> = items-center space-x-4
  • mobile_cls: <class 'str'>
  • sticky: <class 'bool'> = False
  • scrollspy: <class 'bool'> = False
  • cls: <class 'str'> = p-4
  • scrollspy_cls: <class 'str'> = navbar-underline
  • menu_id: str | None = None

Returns: <class 'air.tags.models.special.Tag'>

class ScrollspyT

GitHub