Docs

Accordion

View source

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

Laravel >=10 Alpine.js v1.0.0 interactive layout

Installation

npx velyx@latest add accordion
pnpm dlx velyx@latest add accordion
yarn dlx velyx@latest add accordion
bunx --bun velyx@latest add accordion

Files land in resources/views/components/ui/accordion/ — yours to edit.

Preview

Rendered from the same Blade template the CLI copies into your project.

accordion

Velyx is a UI component registry designed for Laravel applications.

Yes. Components are built to support both light and dark themes.

Yes. Most components support variants and custom props for flexible rendering.
Loading source...
            
        

Requirements

Laravel
>=10
Alpine.js
Required
Version
1.0.0 · latest 1.0.0
Categories
ui, interactive, layout

Dependencies

Resolved and installed automatically by the CLI.

Composer
mallardduck/blade-lucide-icons@1.26.1
npm
alpinejs@^3.15.12 @alpinejs/collapse@^3.15.12