本页出处
设计风格资料库
内容来自 luckymaomi 的 UI 风格库(复刻版),以 MIT 许可 提供。本站镜像收录,仅作学习参考;这一页的原始地址是 原站页面。
← 回到导览访问原站仓库
返回配方目录
Dashboard Layout

仪表盘布局组件配方

font-medium rounded-lg transition-colors duration-200 bg-[#6366f1] text-white hover:bg-[#4f46e5] active:bg-[#4338ca]
button

按钮

Compact functional button for data-focused dashboard interfaces

基础骨架
font-medium rounded-lg transition-colors duration-200
变体
主要、次要、轮廓
状态
hover、active、disabled
card

卡片

KPI metric card with subtle border for data dashboard panels

基础骨架
bg-white rounded-xl border border-gray-100 transition-shadow duration-200
变体
默认、指标、图表
状态
hover
input

输入框

Compact search input for dashboard toolbar and filter panels

基础骨架
w-full bg-gray-50 border border-gray-200 rounded-lg text-sm text-[#111827] placeholder:text-gray-400 focus:outline-none transition-all duration-200
变体
默认、白色
状态
focus、disabled