Section Heading

Opens a page section with a short label, a title and a sentence that says what the section covers.

Plans

One account for every currency you hold

Every plan includes the multi-currency wallet and free transfers between accounts.

Configurations

Supported configurations for this component.

Configurations

4 examples
Center

Plans

One account for every currency you hold

Every plan includes the multi-currency wallet and free transfers between accounts.

Left

Plans

One account for every currency you hold

Every plan includes the multi-currency wallet and free transfers between accounts.

Split

Plans

One account for every currency you hold

Every plan includes the multi-currency wallet and free transfers between accounts.

Split with actions

Plans

One account for every currency you hold

Every plan includes the multi-currency wallet and free transfers between accounts.

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/••••••••••••

Light and dark both come with the install and follow the dark class on <html>, the shadcn dark mode setup (next-themes with attribute="class").

Props

Every prop this component accepts. Any other prop is forwarded to the underlying element.

PropTypeDefaultDescription
titlereqReact.ReactNode-The heading itself.
eyebrowReact.ReactNode-A short label over the title, set in the label role (uppercase, tracked, muted).
descriptionReact.ReactNode-One or two sentences under the title, or beside it in `split`.
actionsReact.ReactNode-A control or two under the description, such as a Button or a toggle.
align'center'|'left'|'split''center'`center` opens a band, `left` heads a column, `split` sets the description and actions beside the title on a 7:5 grid.
as'h1'|'h2'|'h3'|'h4'|'h5'|'h6''h2'The title's heading level; the look never changes with it.
titleIdstring-An id for the title, so the section can be labelled by it.

More Andromeda Pro components