Hero with Code Aside
The classic "developer-first marketing" hero: headline + lede + CTA on one side, ready-to-paste install command on the other. Combines <x-wirekit::'s aside slot with <x-wirekit::.
Recipe
New
Laravel UI components, two commands away.
Components themed by your design tokens, fonts served from your own domain, and an MIT license.
Install
composer require pushery/wirekit
php artisan wirekit:install
Variations
- Code → terminal screencast: Replace the
code-blockwith a<video>or animated GIF for a "show, don't tell" install flow. - Code → live preview iframe: For component libraries showcasing themselves, embed an actual live preview of one of the components instead of installation code.
layout="lead"for copy-heavy heroes: Switch from defaultbalanced(50/50) tolead(60/40) when the headline + lede dominate the message and the aside is supportive.
Components Used
- Hero —
eyebrow,title,lede,actions,asideslots;layoutprop - Badge — version pill in eyebrow
- Code Block —
:copy="true"announces "Code copied to clipboard" to screen readers - Button — primary + outline variants for CTA pair
See Also
- Hero component docs — all four
layoutvalues - Code Block accessibility — copy button live region