<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**
[](https://crates.io/crates/euv-ui)
[](https://crates.io/crates/euv-ui)
[](https://docs.rs/euv-ui)
[](https://github.com/euv-dev/euv/actions)
[](https://www.rust-lang.org)
[](../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).