euv-ui 0.48.8

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

Euv-ui

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

Crates.io Version Crates.io Downloads Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview · API Docs · Agent Engineering Rules


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)
  • chrome_policy, component::layout, component::navigation & router — Strategy-driven EuvChromeLayoutPolicy (VerticalSafeRailStrategy, EdgeSafeStripStrategy, WatchCompactStrategy, BottomFloatingDockStrategy, DesktopSidebarStrategy) + resolve_nav_dock_presentation + curved-corner resolve_fullscreen_safe_layout, fluid full-width EuvPage, EuvAppShell (SHELL_TOPBAR_CONTROL_HEIGHT = 32.0, auto_hide_chrome_on_scroll, reactive topbar theming, safe-area-clipped route stage), equal-inset horizontal/vertical/icon-only 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

cargo add euv euv-ui

Verification

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

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.