NERV-UI DOCS
inspection terminal
live
doc.access // online
NERV COMPONENT INSPECTION
route integrity monitored

Button

Multi-variant industrial button with corner decorations, loading state animation, and hover color inversion. The backbone of all user interactions in the NERV interface.

[SRC]tsx
1import { Button } from "@mdrbx/nerv-ui";

Variants

//Primary

PRIMARYinspection frame
live inspectionframe-01

//Danger

DANGERinspection frame
live inspectionframe-01

//Ghost

GHOSTinspection frame
live inspectionframe-01

//Terminal

TERMINALinspection frame
live inspectionframe-01

Sizes

SIZESinspection frame
live inspectionframe-01

Loading State

LOADINGinspection frame
live inspectionframe-01

Full Width

FULL WIDTHinspection frame
live inspectionframe-01

Props

PropTypeDefaultDescription
variant"primary" | "danger" | "ghost" | "terminal""primary"Visual variant and color scheme
size"sm" | "md" | "lg""md"Button size
loadingbooleanfalseShow animated loading dots
fullWidthbooleanfalseStretch to fill container width
disabledbooleanfalseDisabled state with reduced opacity
type"button" | "submit" | "reset""button"HTML button type attribute
onClickMouseEventHandlerClick event handler
classNamestring""Additional CSS classes