Marketing sectionsServicesAccordion

Open in Create
Search
astronomic.dev

ServicesAccordion

Pro

For a numbered list of what you do, each opening to show what it includes, the work, and a link.

File
ServicesAccordion.astro
Group
Marketing sections
Kind
Static: no JavaScript
Examples
4
import ServicesAccordion from "@astronomic/ui-pro/components/ServicesAccordion.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

A numbered accordion

Each row: the number, the title and the chevron. From a 48rem list an open service's body sits under its title, the text beside the tags, then the photo across both and the link.

main.astro

On the dark panel

tone="inverse" inside Panel tone="inverse": the panel's colors, and its mark color for the open number.

inverse.astro

One open at a time

With exclusive, opening a service closes the one that was open. The browser does it; no script.

exclusive.astro

A long title in a narrow column

In a 20rem column the number sits above the title, a long title wraps beside the chevron, and the body stacks.

long-title.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.