radix-leptos-core

Crates.ioradix-leptos-core
lib.rsradix-leptos-core
version0.9.0
created_at2025-08-31 08:12:00.503996+00
updated_at2025-09-22 02:56:13.948468+00
descriptionCore utilities and hooks for Radix-Leptos components
homepagehttps://radix-leptos.dev
repositoryhttps://github.com/cloud-shuttle/radix-leptos
max_upload_size
id1818294
size159,666
Peter Hanssens (petehanssens)

documentation

https://docs.rs/radix-leptos

README

Radix-Leptos Core

Core utilities and hooks for Radix-Leptos components.

Overview

This crate provides the foundational utilities, hooks, and shared functionality that power the Radix-Leptos component library. It includes:

  • Utility Functions: Common helper functions for component development
  • Hooks: Reusable state management and side effect hooks
  • Types: Shared type definitions and enums
  • Constants: Common constants and configuration values

Features

  • 🎯 Focused: Core utilities without component dependencies
  • 🔧 Utilities: Helper functions for common operations
  • 🪝 Hooks: Reusable Leptos hooks for state management
  • 📦 Lightweight: Minimal dependencies for maximum compatibility

Usage

use radix_leptos_core::*;

// Use utility functions
let merged_classes = merge_classes(vec!["btn", "btn-primary"]);

// Use hooks
let (count, set_count) = create_signal(cx, 0);

Documentation

For complete documentation, visit docs.rs/radix-leptos-core.

License

MIT License - see LICENSE for details.

Commit count: 57

cargo fmt