Native Shell
Native Shell:AI 生成的 UI,在你的應用中原生呈現,涵蓋每個平台。iOS、Android、macOS、Windows 與 Linux 上的應用、GPUI 應用與網頁在執行時載入已簽名、沙箱隔離的 TSX 模組並繪製 th
AI 翻譯
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Composable modern UI blocks for Shiny dashboards, inspired by shadcn/ui.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗shinyblocks is an experimental R package for building modern Shiny
dashboards with composable, accessible UI blocks inspired by shadcn/ui.
It is designed for R/Shiny authors who want polished dashboard layouts,
forms, overlays, navigation, theming, and runtime interactions without
adding a Node, Tailwind, Vite, or React build step to their app.
The package is not on CRAN yet, and the public API may change before the first stable release.
Documentation and component gallery
Install the development version from GitHub:
install.packages("pak")
pak::pak("nvelden/shinyblocks")
library(shiny)
library(shinyblocks)
ui <- block_page(
title = "Operations",
sidebar = block_sidebar(
title = "shinyblocks",
block_nav_item("Overview", icon = "layout-dashboard", selected = TRUE),
block_nav_item("Reports", icon = "file-text")
),
header = block_header(
"Operations dashboard",
block_dark_mode_toggle()
),
block_card(
title = "Revenue",
description = "+8% from last week",
value = "$42,100"
),
block_field(
block_field_label("Region", `for` = "region"),
block_select(
"region",
choices = c("Americas", "EMEA", "APAC"),
selected = "Americas"
)
)
)
server <- function(input, output, session) {}
shinyApp(ui, server)
Run the local showcase app from an installed package checkout:
shinyblocks::run_showcase()
The hosted documentation and gallery are available at https://nvelden.github.io/shinyblocks/.
shinyblocks can be used in Shinylive/webR apps before the package is
available through CRAN or the default webR package repositories.
Pre-built WebAssembly binaries are published on
r-universe and rebuilt
automatically from main on every push. Install at the top of your
Shinylive app.R:
if (!"shinyblocks" %in% rownames(installed.packages())) {
install.packages(
"shinyblocks",
repos = c("https://nvelden.r-universe.dev", "https://repo.r-wasm.org")
)
}
library(shiny)
library(shinyblocks)
The first Shinylive load can take a little longer while webR downloads and caches the package binaries.