diff --git a/packages/cli-rs/crates/ui/src/toast.rs b/packages/cli-rs/crates/ui/src/toast.rs
index 1ebc777d21a..771a0082a37 100644
--- a/packages/cli-rs/crates/ui/src/toast.rs
+++ b/packages/cli-rs/crates/ui/src/toast.rs
@@ -1 +1,366 @@
-//! Toasts (U.3).
+//! Toasts (U.3): `packages/tui/src/ui/toast.tsx`, plus the theme error toast of
+//! `component/theme-error-toast.tsx`.
+//!
+//! [`Toasts`] is the `ToastProvider` and the `` view together: one toast at a time in the top right
+//! corner, a queue behind it, a timer that dismisses it, pause while hovered, and an optional action.
+
+use crate::theme::{Theme, ThemeError};
+use opentui::prelude::*;
+use std::cell::{Cell, RefCell};
+use std::collections::VecDeque;
+use std::rc::{Rc, Weak};
+use std::time::{Duration, Instant};
+
+pub const DEFAULT_DURATION: Duration = Duration::from_millis(5000);
+
+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
+pub enum Variant {
+ #[default]
+ Info,
+ Success,
+ Warning,
+ Error,
+}
+
+/// A toast's action: `› label`, run when the toast is clicked.
+#[derive(Clone)]
+pub struct ToastAction {
+ pub label: String,
+ pub run: Rc,
+}
+
+/// `ToastOptions`; `duration` is [`DEFAULT_DURATION`] unless set.
+#[derive(Clone, Default)]
+pub struct ToastOptions {
+ pub title: Option,
+ pub message: String,
+ pub variant: Variant,
+ pub duration: Option,
+ pub action: Option,
+}
+
+impl ToastOptions {
+ pub fn new(variant: Variant, message: impl Into) -> Self {
+ Self {
+ variant,
+ message: message.into(),
+ ..Self::default()
+ }
+ }
+
+ pub fn title(mut self, title: impl Into) -> Self {
+ self.title = Some(title.into());
+ self
+ }
+
+ pub fn duration(mut self, duration: Duration) -> Self {
+ self.duration = Some(duration);
+ self
+ }
+
+ pub fn action(mut self, label: impl Into, run: impl Fn() + 'static) -> Self {
+ self.action = Some(ToastAction {
+ label: label.into(),
+ run: Rc::new(run),
+ });
+ self
+ }
+
+ fn length(&self) -> Duration {
+ self.duration.unwrap_or(DEFAULT_DURATION)
+ }
+}
+
+struct Inner {
+ app: App,
+ theme: RefCell,
+ parent: View,
+ surface: RefCell