Skip to main content

Crate fret_ui_headless

Crate fret_ui_headless 

Source
Expand description

Headless UI state machines and small deterministic helpers.

This crate intentionally avoids theme/recipe policy and contains only reusable logic that can be shared across UI kits and component ecosystems.

Modules§

calendar
calendar_solar_hijri
carousel
Headless carousel drag/snap state machine.
checked_state
cmdk_score
cmdk-style fuzzy scoring (ported from repo-ref/cmdk).
cmdk_selection
Headless cmdk-style “active option” selection helpers.
easing
Easing helpers for deterministic motion.
embla
form_state
form_validation
grid_viewport
hover_intent
Small, reusable hover intent state machine (delay open/close).
menu_nav
Menu/list navigation helpers (APG-aligned index math).
motion
Headless motion primitives (time-driven).
presence
roving_focus
Small helpers for APG-aligned “roving tabindex” style navigation.
safe_hover
Deterministic “safe hover” corridor helpers for nested menus.
scroll_area
ScrollArea shared types (Radix-aligned outcomes).
scroll_area_visibility
select_item_aligned
Radix Select item-aligned positioning math.
slider
snap_points
tab_strip_canonical
Canonical-order helpers for editor-style tab strips.
tab_strip_controller
Shared (policy-layer) helpers for editor-grade tab strip click arbitration.
tab_strip_drop_target
tab_strip_hit_test
tab_strip_overflow
tab_strip_overflow_menu
tab_strip_scroll
tab_strip_surface
table
Headless table engine (TanStack-aligned vocabulary, Rust-native API).
text_assist
Headless text-assist list controller for editor completion/history surfaces.
tooltip_delay_group
Tooltip provider delay-group logic (Radix-aligned outcomes).
tooltip_intent
transition
Transition timelines (deterministic, tick-driven).
typeahead
Typeahead buffer + prefix matching helpers (APG-inspired).