Components
Loading preview...
Promo Banner This component is designed to be a flexible and reusable promotional banner. It accepts title, description, and an icon as props, making it easy to adapt for various use cases. The entire banner becomes a clickable link if an href prop is provided.
@ravikatiyar
npx shadcn@latest add https://21st.dev/r/ravikatiyar162/bannerimport { PromoBanner } from "@/components/ui/banner"; // Adjust the import path
import { Crown } from "lucide-react";
export default function PromoBannerDemo() {
return (
<div className="flex w-full max-w-md items-center justify-center p-4">
<PromoBanner
title="Taxita One"
description="Join now and get 1 month free"
href="https://example.com"
icon={<Crown className="h-5 w-5" />}
/>
</div>
);
}