API Reference LanternUI v#0.3.0

Copy Markdown View Source

Modules

LanternUI — a dev-tool-native, open-source component system for Phoenix LiveView.

Native LiveView chart components — server-rendered SVG, minimal JS.

Pure geometry helpers for LanternUI charts: linear scaling, "nice" axis ticks, and SVG path building.

Class-string composition for LanternUI components.

Buttons — Fluxon-compatible API, shadcn-caliber styling.

A month-grid calendar primitive — the pane the date pickers compose.

Date/time pickers — Fluxon-compatible API composed from LanternUI primitives.

A segmented, directly-editable date/time field — the trigger primitive the date pickers compose (HeroUI-style: 2 / 3 / 2026, 8:45 AM).

Form chrome — label, error, and a Fluxon-compatible input.

A small, curated inline-SVG icon set (Heroicons outline paths, MIT).