use leptos::{ IntoView, component, html::Input, prelude::{ClassAttribute, ElementChild, GlobalAttributes, NodeRef, NodeRefAttribute}, view, }; use crate::components::get_id; #[component] pub fn InputPlaceholder( input_type: &'static str, label: &'static str, node_ref: NodeRef, #[prop(default = None)] initial_value: Option, ) -> impl IntoView { let id = get_id(); view! { // TODO: Reference `var(--tw-border-2)` instead of the `2 px` <2025-10-01> {label} } }