Primitives

The building blocks of our user interface.

Install
pnpm add @gateflow/ui

Button

ui

Interactive buttons for triggers and actions. Supports multiple variants and sizes.

PropertyTypeDefaultDescription
variant'default' | 'secondary' | 'outline' | 'ghost' | 'destructive' | 'link'defaultVisual style of the button.
size'default' | 'sm' | 'lg' | 'icon' | 'icon-sm'defaultPadding and font-size variant.
loadingbooleanfalseShows a loading spinner.
asChildbooleanfalseChange the default rendered element for the one passed as a child.

Input

ui

A standard text input field for form data. Optimized for high contrast and accessibility.

Badge

ui

Small status indicators and tags. Used for labels, counts, and statuses.

New Feature
Beta
v1.2.0
Informational
Live
PropertyTypeDefaultDescription
variant'default' | 'secondary' | 'outline' | 'destructive' | 'success' | 'warning' | 'info'defaultVisual status variant.

Card

ui

Containers for related content and actions. Flexible layout with header, content, and footer.

Create Project

Deploy your new gate monitor project in one-click. Automated environment setup.

Initializing Engine...

Avatar

ui

Visual representation of users or entities. Supports images and automatic fallback initials.

CN
MS
JD
A
B
+5

Tabs

ui

Segmented navigation within a view. Used to organize related content into distinguishable groups.

System Health: 99.9%All Nodes Active

Select

ui

A form control for picking one option from a list. Supports scrolling, grouping, and label management.

Skeleton

ui

Loading state visuals for content that is not yet ready. Used to reduce perceived latency.

Switch

ui

A toggle control for binary operations (on/off). Ideal for settings and feature flags.

Biometric SecurityEnable FaceID / TouchID
Stealth ScanSilent QR processing