orbital-motion 0.1.4

Shared motion tokens, atoms, and presence utilities for Orbital
Documentation
//! Shared preview-catalog registration type for all Orbital crates.
//!
//! Product crates re-export this as `crate::preview::PreviewRegistration` so
//! `#[component_doc]` macros and static tables share one concrete type.

use icondata_core::Icon;
use leptos::prelude::*;

#[cfg(not(target_arch = "wasm32"))]
inventory::collect!(PreviewRegistration);

/// Static metadata for a generated component preview page.
pub struct PreviewRegistration {
    pub slug: &'static str,
    pub label: &'static str,
    pub section: &'static str,
    pub section_priority: u16,
    pub category: &'static str,
    pub category_priority: u16,
    pub category_default_collapsed: bool,
    pub group: &'static str,
    pub group_priority: u16,
    pub nav_item: bool,
    pub icon: Icon,
    pub render: fn() -> AnyView,
}