Hero
manifest-ui/heroFreeBlock
Landing hero section with optional logos, title, subtitle, CTA buttons, and tech logos footer. Supports image or text logos with separator.
Install it
npx shadcn@latest add https://ui.manifest.build/r/hero.jsonSource
1'use client';23import { Button } from '@/components/ui/button';4import type { ReactNode } from 'react';5import { demoHeroDefault } from './demo/miscellaneous';67/**8 * Represents a logo in the hero section.9 * @interface HeroLogo10 * @property {string} [url] - URL of the logo image (shown in light mode)11 * @property {string} [urlLight] - URL of the light version logo (shown in dark mode for visibility)12 * @property {string} [alt] - Alt text for the logo13 * @property {string} [text] - Text to display if no URL is provided (e.g., "Acme")14 */15export interface HeroLogo {16 url?: string;17 urlLight?: string;18 alt?: string;19 text?: string;20}2122/**23 * Represents a tech/partner logo in the footer section.24 * @interface TechLogo25 * @property {string} [url] - URL of the tech logo image26 * @property {string} [alt] - Alt text for the logo27 * @property {string} [name] - Name of the technology (used for tooltip)28 */29export interface TechLogo {30 url?: string;31 alt?: string;32 name?: string;33}3435/**36 * Represents a button configuration in the hero section.37 * @interface HeroButton38 * @property {string} [label] - Text label for the button (optional)39 * @property {ReactNode} [icon] - Icon to display in the button (optional)40 */41export interface HeroButton {42 label?: string;43 icon?: ReactNode;44}4546/**47 * ═══════════════════════════════════════════════════════════════════════════48 * HeroProps49 * ═══════════════════════════════════════════════════════════════════════════50 *51 * Props for the Hero component. A landing hero section with optional logos,52 * title, subtitle, call-to-action buttons, and tech logos footer.53 */54export interface HeroProps {55 data?: {56 /** Primary logo displayed in the hero. Can be an image URL or text. */57 logo1?: HeroLogo;58 /** Secondary logo displayed next to the primary logo (shows separator between them). */59 logo2?: HeroLogo;60 /** Separator text between logos (e.g., "x", "&", "and"). Only shown when both logos are present. */61 logoSeparator?: string;62 /** Main title/heading of the hero section. */63 title?: string;64 /** Subtitle or description text below the title. */65 subtitle?: string;66// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from Manifest UI
All 32 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Amount Inputamount-input | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Chat Conversationchat-conversation | Manifest UI | Blocks | Free | 1 dep · 3 files | |
| Contact Formcontact-form | Manifest UI | Blocks | Free | 1 dep · 3 files | |
| Date & Time Pickerdate-time-picker | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Cardevent-card | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Confirmationevent-confirmation | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Detailevent-detail | Manifest UI | Blocks | Free | 3 deps · 2 files | |
| Event Listevent-list | Manifest UI | Blocks | Free | 3 deps · 2 files |
