Cards Glowing
Rust UI component that displays CSS Cards Glowing.
css
Fake Title 1
Fake Title 2
Fake Title 3
Fake Title 4
Fake Title 5
Fake Title 6
use leptos::prelude::*; use leptos_meta::Stylesheet; use crate::components::extensions::cards_glowing::{ CardGlowingContent, CardGlowingItem, CardsGlowing, }; #[component] pub fn DemoCardsGlowing() -> impl IntoView { view! { <Stylesheet id="cards_glowing" href="/components/cards_glowing.css" /> <script src="/components/cards_glowing.js" /> <div class="flex items-center justify-center p-0 m-0 overflow-hidden"> <CardsGlowing> {GLOWING_CARDS_TITLES .iter() .map(|title| { view! { <CardGlowingItem> <CardGlowingContent class="card-content"> <h3 class="text-neutral-300">{*title}</h3> </CardGlowingContent> </CardGlowingItem> } }) .collect::<Vec<_>>()} </CardsGlowing> </div> } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* ✨ CONSTANTS ✨ */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ const GLOWING_CARDS_TITLES: &[&str] = &[ "Fake Title 1", "Fake Title 2", "Fake Title 3", "Fake Title 4", "Fake Title 5", "Fake Title 6", ];
Installation
# Coming soon :)
Usage
// Coming soon 🦀