Elemental.Navigation.Link (elemental v0.3.0)

Style Phoenix' link/1 with Daisy's link class.

Summary

Functions

A passthrough component to Phoenix.Component.link/1 that sets up the DaisyUI classes needed to style it.

Functions

link(assigns)

A passthrough component to Phoenix.Component.link/1 that sets up the DaisyUI classes needed to style it.

By default Tailwind resets the style of links, this restores the underline to links in the system.

Attributes

Slots

  • inner_block (required) - The content rendered inside of the a tag.