Skip to documentation

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
commandRequired
string

The shell command users copy, e.g. `pnpm add

footnote
null | 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.

prefix
string

Shell prompt shown before the command.

Defaults to "$".

title
null | string | number | bigint | false | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode>

Also accepts all native HTML and ARIA attributes.