# Registry Component API A component registry for managing and accessing components. --- ## Installation ```toml # Cargo.toml [dependencies] shadcn-ui-leptos-registry = "0.7" ``` ```rust use shadcn_ui_leptos_registry::Registry; ``` --- ## Component API ### Registry The registry provides component discovery and metadata. --- ## Usage Examples ### Using the Registry ```rust use shadcn_ui_leptos_registry::Registry; #[component] pub fn MyComponent() -> impl IntoView { // Get component metadata let components = Registry::get_all_components(); view! {
{c.description.clone()}