euv-ui 0.48.2

Cross-platform UI component library and 17-scheme design system for the euv framework with pixel-consistent rendering across Web, Android, iOS, iPadOS, macOS, Windows, and Linux.
Documentation
<div align="center">

# Euv-ui

<img src="https://devhub.vip/pages/docs/img/euv.png" alt="Euv-ui logo" height="160">

**60+ Adaptive Native Components, 17 Compiled Themes & Eva Bold Markdown Studio**

[![Crates.io Version](https://flat.badgen.net/crates/v/euv-ui)](https://crates.io/crates/euv-ui)
[![Crates.io Downloads](https://flat.badgen.net/crates/d/euv-ui)](https://crates.io/crates/euv-ui)
[![Docs.rs](https://img.shields.io/docsrs/euv-ui?style=flat-square)](https://docs.rs/euv-ui)
[![CI Status](https://img.shields.io/github/actions/workflow/status/euv-dev/euv/rust.yml?style=flat-square&label=CI)](https://github.com/euv-dev/euv/actions)
[![Rust 2024](https://img.shields.io/badge/edition-2024-orange.svg?style=flat-square)](https://www.rust-lang.org)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](../LICENSE)

[Workspace Overview](../README.md) · [API Docs](https://docs.rs/euv-ui/latest/) · [Agent Engineering Rules](../AGENTS.md)

</div>

---

## Overview

Adaptive native Rust UI component library featuring 60+ shadcn/ui-aligned `#[derive(Props)]` components with unified `style: Option<Style>` styling (`style: { ... }` / `style: style! { ... }` / `style: expr`, zero top-level style key/value props), color-only 17 zero-CSS compiled Light & Dark design schemes sharing canonical geometry + 3-layer WCAG contrast (`SurfaceRole`/`ThemeBaseline`/`mark_theme_owned`) + `RADIUS_PILL`, lazy `PageRetention::Freeze` routing with directional dual-layer cross-slide transitions, fluid full-width `EuvPage`, `EuvAppShell` (`SHELL_TOPBAR_CONTROL_HEIGHT = 32.0`, `auto_hide_chrome_on_scroll`, reactive topbar theming), equal-inset zero-drift percentage-flex floating `EuvBottomNav` + tuned horizontal swipe routing, universal scroll chaining & overscroll pass-through, live native-Hz navbar FPS telemetry, symmetric close animations & gesture-draggable zero-overshoot `EuvDrawer` & `EuvSheet`, unified 1:1 width dropdowns, `doc_kit` documentation primitives, 20+ series `EuvEChart`, 11-family vector `EuvMermaid`, and native `EuvMarkdown` + VS Code Eva Light/Dark Bold `EuvCodeBlock` (`EuvCodeBlockSizeMode::AutoExpand` default).

## Responsibilities & Module Layout

- `theme` — Color-only 17 compile-time Light & Dark design token presets sharing canonical geometry (Shadcn, Cupertino, Material, Fluent, AntDesign, Bootstrap, DaisyUI, Geist, HeroUI, Linear, Mantine, Monochrome, Notion, Park, Radix, Stripe, Supabase), 3-layer WCAG contrast (`SurfaceRole`, `ThemeBaseline`, `mark_theme_owned`), and `RADIUS_PILL` (`999.0`)
- `component::layout`, `component::navigation` & `router` — Fluid full-width `EuvPage`, `EuvAppShell` (`SHELL_TOPBAR_CONTROL_HEIGHT = 32.0`, `auto_hide_chrome_on_scroll`, reactive topbar theming), equal-inset `EuvBottomNav`, `EuvRouter` / `EuvRouterOutlet` (`PageRetention::Freeze`), horizontal swipe routing, and live FPS pill
- `component::overlay`, `component::overlay_extra` & `component::form_extra` — `EuvModal`, symmetric close transitions & zero-overshoot gesture-draggable `EuvDrawer` & `EuvSheet`, and unified 1:1 width dropdowns (`EuvDropdown`, `EuvSelect`, `EuvCombobox`, `EuvNativeSelect`, `EuvDatePicker`)
- `component::markdown`, `component::mermaid`, `component::chart` & `component::doc_kit` — Full GFM `EuvMarkdown` (no-ellipsis wrapped tables with fullscreen + 2D scroll), VS Code `Eva Light Bold` / `Eva Dark Bold` `EuvCodeBlock` (`EuvCodeBlockSizeMode::AutoExpand` default), 11-family native vector `EuvMermaid` with fullscreen & zoom, 20+ series `EuvEChart` with fullscreen, and `doc_kit` (`EuvDocToc`, `EuvDocPager`, `EuvDocSectionNav`, `EuvDocMetaBar`)

## Installation & Usage

```sh
cargo add euv euv-ui
```

## Verification

```sh
cargo run -p euv-cli -- fmt --check
cargo clippy -p euv-ui --all-features --all-targets -- -D warnings
cargo test -p euv-ui --all-features
```

## Documentation & Governance

- Update this `README.md` alongside any public API, macro, component, CLI, or module-boundary change per [`../AGENTS.md`](../AGENTS.md#4-unified-documentation--skill-maintenance-policy).
- Project standards and workflows live in [`../.agents/skills/euv/SKILL.md`](../.agents/skills/euv/SKILL.md).

## License

This project is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details.

## Contact

For inquiries, please contact the author at [root@devhub.vip](mailto:root@devhub.vip).