Veil UI
Components

Final CTA

A closing call-to-action band for the end of a page.

Installation

$ npx veil-ui@latest add final-cta

Usage

import { FinalCta } from "@/components/ui/final-cta";

<FinalCta
  title="Start building with Veil UI today"
  actions={<Button size="lg">Get started</Button>}
/>;

Examples

Basic

Start building with Veil UI today

Own your components, keep your design language, ship faster.

Free for personal and commercial projects.

Compact

Ready when you are

API reference

The package exports final-cta along with its composable parts. It forwards standard attributes to its root element; see the examples above for the component-specific props.

Accessibility

  • Pages keep a single h1 in the hero and use h2/h3 for section hierarchy.
  • Call-to-action elements are real links or buttons with discernible labels.
  • Decorative icons are aria-hidden and meaningful images require alt text.

Vue and plain HTML

This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add final-cta --framework vue or switch the framework in components.json.

<template>
<div data-slot="final-cta" class="overflow-hidden rounded-2xl border bg-gradient-to-br from-primary/15 via-muted/40 to-background px-6 py-14 text-center w-full max-w-4xl"><h2 class="mx-auto max-w-2xl text-3xl font-semibold tracking-tight text-balance">Start building with Veil UI today</h2><p class="mx-auto mt-3 max-w-xl text-sm text-muted-foreground">Own your components, keep your design language, ship faster.</p><div class="mt-6 flex flex-wrap items-center justify-center gap-3"><button data-slot="button" data-variant="default" data-size="lg" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 bg-primary text-primary-foreground hover:bg-primary/90 h-10 rounded-md px-6">Get started</button><button data-slot="button" data-variant="outline" data-size="lg" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 rounded-md px-6">Browse components</button></div><p class="mt-4 text-xs text-muted-foreground">Free for personal and commercial projects.</p></div>
</template>

On this page