Heroes & Sections
Hero — App Device Frame
Product hero with a CSS-only browser or phone frame wrapping the screenshot.
$ velocityx add hero-device-frame Built for astro.
Full docs for Hero — App Device Frame →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Velocity App
Built for the browser, feels like native
A CSS-only browser chrome frame — no screenshot asset of a real device baked in.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| eyebrow | string | No | ||
| title | string | Yes | ||
| sub | string | No | ||
| headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | Yes | ||
| primaryCta | { label: string; href: string } | No | ||
| secondaryCta | { label: string; href: string } | No | ||
| image | string | No | ||
| imageAlt | string | No | 'Application screenshot' | |
| device | 'browser' | 'phone' | No | 'browser' | |
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/hero-device-frame/HeroDeviceFrame.astro Using the Hero — App Device Frame component
Install it with velocityx add hero-device-frame.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from Heroes & Sections.
Copy column paired with a one or two column checklist of benefits.
astroAccessible comparison table with a highlighted column and horizontal scroll on mobile.
astroFull-bleed brand-gradient CTA banner, the project's single-use-per-page gradient moment.
astroCentred call-to-action card with one or two buttons.
astro