diff --git a/docs/book/src/async/11_suspense.md b/docs/book/src/async/11_suspense.md
index 83957bb04a..45906b7a07 100644
--- a/docs/book/src/async/11_suspense.md
+++ b/docs/book/src/async/11_suspense.md
@@ -89,7 +89,7 @@ view! {
// `future` provides the `Future` to be resolved
future=|| fetch_monkeys(3)
// the data is bound to whatever variable name you provide
- bind:data
+ let:data
>
// you receive the data by reference and can use it in your view here
{*data} " little monkeys, jumping on the bed."
diff --git a/leptos/src/await_.rs b/leptos/src/await_.rs
index 38dd7e89b4..5f2eb93e8a 100644
--- a/leptos/src/await_.rs
+++ b/leptos/src/await_.rs
@@ -11,7 +11,7 @@ use leptos_reactive::{
/// [`create_resource`] that only loads once (i.e., with a source signal `|| ()`) with
/// a [`Suspense`] with no `fallback`.
///
-/// Adding `bind:{variable name}` to the props makes the data available in the children
+/// Adding `let:{variable name}` to the props makes the data available in the children
/// that variable name, when resolved.
/// ```
/// # use leptos_reactive::*;
@@ -27,7 +27,7 @@ use leptos_reactive::{
/// view! {
///
/// {*data} " little monkeys, jumping on the bed."
///
@@ -49,7 +49,7 @@ pub fn Await(
///
/// ## Syntax
/// This can be passed in the `view` children of the `` by using the
- /// `bind:` syntax to specify the name for the data variable.
+ /// `let:` syntax to specify the name for the data variable.
///
/// ```rust
/// # use leptos::*;
@@ -61,7 +61,7 @@ pub fn Await(
/// view! {
///
/// {*data} " little monkeys, jumping on the bed."
///
diff --git a/leptos_macro/src/view/component_builder.rs b/leptos_macro/src/view/component_builder.rs
index 7d81ee88d3..cc6b535c01 100644
--- a/leptos_macro/src/view/component_builder.rs
+++ b/leptos_macro/src/view/component_builder.rs
@@ -30,7 +30,7 @@ pub(crate) fn component_to_tokens(
let props = attrs
.clone()
.filter(|attr| {
- !attr.key.to_string().starts_with("bind:")
+ !attr.key.to_string().starts_with("let:")
&& !attr.key.to_string().starts_with("clone:")
&& !attr.key.to_string().starts_with("on:")
&& !attr.key.to_string().starts_with("attr:")
@@ -55,7 +55,7 @@ pub(crate) fn component_to_tokens(
.filter_map(|attr| {
attr.key
.to_string()
- .strip_prefix("bind:")
+ .strip_prefix("let:")
.map(|ident| format_ident!("{ident}", span = attr.key.span()))
})
.collect::>();
diff --git a/leptos_macro/src/view/slot_helper.rs b/leptos_macro/src/view/slot_helper.rs
index 2293816106..4635650e2e 100644
--- a/leptos_macro/src/view/slot_helper.rs
+++ b/leptos_macro/src/view/slot_helper.rs
@@ -48,7 +48,7 @@ pub(crate) fn slot_to_tokens(
let props = attrs
.clone()
.filter(|attr| {
- !attr.key.to_string().starts_with("bind:")
+ !attr.key.to_string().starts_with("let:")
&& !attr.key.to_string().starts_with("clone:")
})
.map(|attr| {
@@ -71,7 +71,7 @@ pub(crate) fn slot_to_tokens(
.filter_map(|attr| {
attr.key
.to_string()
- .strip_prefix("bind:")
+ .strip_prefix("let:")
.map(|ident| format_ident!("{ident}", span = attr.key.span()))
})
.collect::>();