Below is an embedded R shinylive app running in a separate server. The iframe is included in a bslib card.
An embedded shinylive app editor. User can share the code. Note: the plot won’t likely show on smaller screen leading to an error in the R console.