InstallBanner
The closing call to action of a landing page, with a title, a copyable install command and a footnote.
import { InstallBanner } from '@lobehub/ui/awesome';Landing
Default
Loading preview
APIs
InstallBanner properties
commandRequiredstringThe shell command users copy, e.g. `pnpm add
footnotenull | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>Muted line under the command, e.g. license and a docs link.
prefixstringShell prompt shown before the command.
Defaults to
"$".titlenull | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>
Also accepts all native HTML and ARIA attributes.
Helpful?