VaneUI

VaneUI

Documentation

VaneUI provides a collection of reusable components that can be used to build modern and responsive web applications.

Basic Components

A collection of fundamental and interactive components for building user interfaces.

Button

Button triggers an action or event when clicked. It can contain text, an icon, or both, and is a primary way for users to interact with the app.

IconButton

A square icon-only button with customizable appearance, size, and shape. Supports loading state and renders as anchor when href is provided.

NavLink

A navigation link for sidebars, nav menus, and headers. Supports active state, icons, and renders as anchor or button.

Badge

Badge highlights information such as notifications or counts in a non-intrusive way. Often paired with other elements like icons or navigation links.

Chip

Compact token for tags, attributes, or other discrete entities inline with text. Defaults to secondary appearance, outline variant, and rounded shape.

Code

Renders inline code snippets in a themed monospace surface. Use for commands, file paths, or technical terms in prose; renders as an anchor when given href.

Kbd

Displays keyboard keys and shortcuts with monospace font, border, and a raised 3D effect. Ideal for documenting keyboard shortcuts.

Mark

Highlights text with a background color for emphasis. Defaults to warning (yellow) appearance for a natural highlighter effect.

Icon

A lightweight SVG wrapper that provides consistent sizing, color inheritance, and themed appearances for icons.

Alert

Alert is a live region for messages that follow a user action. It announces itself when it appears, assertively by default or politely on request.

Spinner

Spinner indicates that something is in progress. The ring is sized in em, so it scales with the size prop and lines up with text.