Linx logoLinx Docs
On this page
On this page

Basic Components

Document alert banners, badge tags, and copyable terminal command widgets.

UI Basics

Basic Components

These are the primary components for callouts, inline tags, and command lines.

1. Alert & Callout

Provides context-sensitive feedback messages for users. Supported types/variants: default (Note), info (Info), success (Success), warning (Warning), destructive (Danger).


2. Badge

Compact labels used to highlight metadata or states. Supported variants: default, secondary, destructive, outline.

Here is a badge in action:

DefaultSecondaryDestructiveOutline

3. Command

Interactive command container for terminal instructions with built-in clipboard copying.

$npm run dev