# `PhiaUi.Components.ContextNav`
[🔗](https://github.com/charlenopires/PhiaUI/blob/v0.1.17/lib/phia_ui/components/navigation/context_nav.ex#L1)

Secondary in-page horizontal navigation strip (sub-navigation).

Two components:

- `context_nav/1` — horizontal nav bar with three visual variants
- `context_nav_item/1` — individual nav item with active/inactive states

# `context_nav`

Renders a secondary in-page horizontal navigation strip.
## Attributes

* `sticky` (`:boolean`) - Pins the nav to the top of the viewport. Defaults to `false`.
* `variant` (`:atom`) - Defaults to `:default`. Must be one of `:default`, `:minimal`, or `:bordered`.
* `class` (`:string`) - Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block` (required)

# `context_nav_item`

Renders an individual item inside a context_nav.
## Attributes

* `href` (`:string`) - Defaults to `"#"`.
* `active` (`:boolean`) - Defaults to `false`.
* `disabled` (`:boolean`) - Defaults to `false`.
* `variant` (`:atom`) - Defaults to `:default`. Must be one of `:default`, `:minimal`, or `:bordered`.
* `class` (`:string`) - Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block` (required)
* `badge` - Optional badge count slot.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
