Docs

Components

Component Library

Browse the Velyx components available from the registry. Each page is backed by the same metadata and preview routes used by the CLI and documentation.

37 components available

Registry API
Accordion

Collapsible accordion with animated height via Alpine.js x-collapse. Sub-components: item, trigger, content.

ui interactive layout
Alert

Composable alert with variants (default, destructive, success, warning, info). Sub-components: title, description, action.

ui feedback
Avatar

Composable avatar with image, fallback initials, badge overlay, and size variants (sm, default, lg).

ui media
Avatar Group

Stacked avatar group with negative spacing and optional overflow count.

ui media
Badge

Inline badge with variants: default, secondary, destructive, outline, success.

ui feedback
Breadcrumbs

Navigation breadcrumb component with customizable separators and links.

ui navigation layout
Button

Versatile button with variants (default, destructive, outline, secondary, ghost, link), sizes, icon support (left/right/only), href for anchor rendering, and wire:loading state.

ui forms interactive
Card

Composable card with header, title, description, content, footer, and action sub-components.

ui layout
Carousel

Image carousel with autoplay, navigation arrows, dots indicator, and captions.

ui media interactive
Checkbox

Accessible checkbox using native input with custom visual layer. Supports wire:model, x-model, disabled and aria-invalid states.

ui forms interactive
Command Palette

Command palette with keyboard shortcuts, search, and command execution.

ui interactive navigation
Date Picker

Date picker with calendar interface, date formatting, and validation.

ui forms input
Dialog

Accessible modal dialog with backdrop, transition animations, and size options.

ui overlay interactive
Drawer

Slide-out drawer panel with multiple positions and overlay support.

ui overlay layout
Dropdown Menu

Dropdown menu primitives with groups, labels, items, shortcuts, separators, and nested submenus.

ui overlay interactive
Empty

Composable empty state with header, media (icon/image), title, description and actions.

ui feedback layout
Field

Composable form field primitives: Field, FieldSet, FieldLegend, FieldGroup, FieldContent, FieldLabel, FieldTitle, FieldDescription, FieldSeparator, FieldError.

ui forms layout
File Upload

File upload component with drag-and-drop, image previews, and progress tracking.

ui forms interactive
Input

Text input primitive with focus ring, aria-invalid state, file input support, and dark mode.

forms ui
Kbd

Keyboard key component with icon support and multiple variants.

ui feedback text
Label

Form label with optional required asterisk and hint text. Aware of disabled peer and group context.

ui forms
Markdown Viewer

Markdown viewer component rendered as rich prose content.

ui data text
Popover

Popover component with configurable positioning and trigger options.

ui overlay interactive
Progress Bar

Progress bar component with variants, sizes, and percentage display.

ui feedback data
Progress Steps

Progress steps component with clickable steps, labels, and descriptions.

ui navigation feedback
Range Slider

Range slider component with single and double handle modes, custom styling.

ui forms input
Rating

Star rating component with half-star support, hover effects, and value display.

ui forms interactive
Separator

Visually or semantically separates content, horizontal or vertical.

ui layout
Skeleton

Animated loading placeholder with pulse animation.

ui feedback
Sortable List

Drag-and-drop sortable list component with handles and animations.

ui interactive layout
Stepper

Multi-step stepper component with horizontal and vertical layouts.

ui navigation forms
Table

Composable table primitives with caption, header, body, footer, row, head, and cell.

ui data forms
Tabs

A tabs component with main container and sub-components.

ui interactive layout
Timeline

Timeline component with vertical/horizontal layouts, animations, and multiple event types.

ui data layout
Toast

Toast notification system with multiple variants, positions, and auto-dismissal.

ui feedback overlay
Toggle

Toggle switch component with multiple sizes and accessibility features.

ui forms interactive
Tooltip

Tooltip component with configurable positioning and delay settings.

ui overlay feedback