ActionsSaveButton

Open in Create
Search
astronomic.dev

SaveButton

Free

To let a reader keep a listing in a list in their own browser, with no account, such as Saved homes.

File
SaveButton.astro
Group
Actions
Kind
Interactive: inline script
Examples
2
import SaveButton from "@astronomic-dev/ui/components/SaveButton.astro";

Examples

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

  • Static
  • Interactive
  • Framed

On a listing's photo

The heart on a photo's top corner, as the listing cards place it. A press keeps the listing in a saved list in this browser, with no account; every Save button for the same listing flips with it, on this page and in other open tabs.

main.astro

On the page

tone="page" for a Save beside a title on the page, such as on a listing's own page.

on-page.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.