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

新野兽派组件配方

font-black border-2 md:border-4 border-black rounded-none transition-all duration-200 bg-[#ff006e] text-white shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] md:shadow-[8px_8px_0px_0px_rgba(0,0,0,1)] hover:shadow-none hover:translate-x-[2px] hover:translate-y-[2px] md:hover:translate-x-1 md:hover:translate-y-1 active:translate-x-[4px] active:translate-y-[4px]
button

按钮

Bold button with hard-edge shadow and hover displacement

基础骨架
font-black border-2 md:border-4 border-black rounded-none transition-all duration-200
变体
主要、次要、强调、轮廓
状态
hover、active、disabled
card

卡片

Container with black border and hard-edge shadow

基础骨架
bg-white border-2 md:border-4 border-black rounded-none transition-all duration-300
变体
默认、强调、扁平
状态
hover
input

输入框

Form input with sharp borders and focus shadow

基础骨架
w-full border-2 md:border-4 border-black rounded-none bg-white font-mono focus:outline-none transition-shadow
变体
默认、填充
状态
focus、disabled
heading

标题

Bold heading with sharp typography

基础骨架
font-black tracking-tight leading-tight
变体
默认、反色、强调
状态
静态
badge

徽章

Small label with brutal styling

基础骨架
inline-block font-black text-xs md:text-sm uppercase tracking-wider border-2 border-black rounded-none
变体
默认、强调、轮廓
状态
静态
nav

导航栏

Top navigation bar with black complete border

基础骨架
bg-white border-2 md:border-4 border-black px-4 md:px-8 py-3 md:py-4
变体
默认、反色
状态
静态