zzzUI

基于 Base UI 的 shadcn 组件

一切
皆斜切。

zzzUI 是一套仅暗色的组件库,游戏 UI 风格鲜明:黑色横条、炭灰底色、一种荧光强调色,以及粗描边的斜切块。

terminal
pnpm dlx shadcn@latest registry add @zzzui=https://zzzui.catforest.dev/r/{name}.jsonpnpm dlx shadcn@latest add @zzzui/button

Job board

5 open · 1 taken

  • HarborCourier run across the river
    1,200cr
  • Rail yardsReset the signal relay on the water tower
    2,400cr
  • Canal sideFind a grey cat last seen by the lock gates
    600cr
  • Rail yardsEscort a sealed crate through the yards
    3,100cr
  • Old marketHaggle for spare parts at the night stalls
    900cr

地基

一个角度,贯穿全局

所有斜切都出自同一个设计 token,角度与斜体字的倾角一致。调整它,按钮、标签页和输入框会一起重新切角,描边依旧均匀。

  • 只切角,不倒圆每一块都是斜切块,边缘按同一角度斜切;并排放置时,彼此嵌合。
  • 以描边分层不用阴影。层次由墨黑粗描边和一道暗色副线撑起,焦点由黄色焦点框标出。
  • 动效各有其用按下迅速、松开回弹,斜切块滑动,弹出层展开又收起。系统开启「减少动态效果」时,全部静止。
--zero-slant14°

实战

调度控制台

命令面板、频道与图表,都由同一套斜切块搭成。可以执行命令,也可以在街区频道里发言。

Take the next rush job⌘T
Hand in the cold box
Reroute past Tower 9
Ping the north gate⌘P
Mute the east district
This week
Jobs handed in, east district
East district
Channel · 3 drivers on shift
Live
Tonight
Dispatch assigned the sealed crate21:02
Mara 21:04
Gate 4 is shut tonight.
route-map.svg12 KB
You 21:05
Take the canal then.
Mara 21:05
On it. Eighteen minutes.

游戏内

能实际操作的 HUD

会留下残影的数值条、带冷却的快捷栏、完成后划掉的目标。快捷栏可以直接使用:维修包(kit)修补船体,信号弹(flare)和钥匙(key)用来完成这一班。

Hull
x
Shield
x

12,480cr

Night shift

Current: Mark the drop zone
Current: Open the north gate

更多代码块:Settings menuMission briefingLoadoutLeaderboardTitle screenPause menuCharacter selectCommunity feedLevel rewardsDaily schedule

一览

全部组件