prongs
GitHub

action.more

A link on its own to more about what is above it: Learn more, See all, Full changelog. Write only the words

Component

Renders

<button>

Profile

Comes from

Read https://www.prongs.dev/docs/intents/action/more.md and tell me whether action.more fits what I am building.

Example

Preview

What’s new in 0.3

A smaller starter, and packs for each kind of app.

Full changelog
<Action intent="action.more" href="/changelog">Full changelog</Action>

Code that says see, learn, all points here. prongs check warns when an element with this intent has a handler or label that points somewhere else.

Connections

Choosing between neighbours

  • If it is

    Use

  • A link on its own to more about what is above it: Learn more, See all, Full changelog. Write only the words

    action.more
  • A link inside a sentence

    action.navigate

For registry authors

Pack intent. prongs add marketing puts the marketing pack’s intents in your registry. They are then yours like the starter intents: rename, restyle and add to them, and see them with prongs add gallery.

What this intent is built from and its entry in components/prongs/registry.ts. You only need this to change how it looks or to add an intent like it.

How action.more resolves, and its definition

Each layer adds to the one before it; a later class wins over an earlier one that sets the same thing.

  • control.link

    Inline text link

    font-medium text-primary underline-offset-4 hover:underline
    focus-visible:underline focus-visible:outline-none
    aria-disabled:pointer-events-none aria-disabled:opacity-50
    data-[tone=danger]:text-destructive
  • action.more

    A link on its own to more about what is above it: Learn more, See all, Full changelog. Write only the words

    inline-flex w-fit items-center gap-1.5 no-underline after:size-4
    after:shrink-0 after:bg-current after:transition-transform
    after:content-[''] after:[mask-position:center]
    after:[mask-repeat:no-repeat] after:[mask-size:contain]
    after:[mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h14%27%2F%3E%3Cpath%20d%3D%27m12%205%207%207-7%207%27%2F%3E%3C%2Fsvg%3E)]
    hover:after:translate-x-0.5
Final classes
font-medium text-primary underline-offset-4 hover:underline
focus-visible:underline focus-visible:outline-none
aria-disabled:pointer-events-none aria-disabled:opacity-50
data-[tone=danger]:text-destructive inline-flex w-fit
items-center gap-1.5 no-underline after:size-4 after:shrink-0
after:bg-current after:transition-transform after:content-['']
after:[mask-position:center] after:[mask-repeat:no-repeat]
after:[mask-size:contain]
after:[mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h14%27%2F%3E%3Cpath%20d%3D%27m12%205%207%207-7%207%27%2F%3E%3C%2Fsvg%3E)]
hover:after:translate-x-0.5
Definition
TS
'action.more': {
kind: 'semantic',
description: 'A link on its own to more about what is above it: Learn more, See all, Full changelog. Write only the words',
refs: ['control.link'],
keywords: ['see', 'learn', 'all'],
binding: {
classes: 'inline-flex w-fit items-center gap-1.5 no-underline after:size-4 after:shrink-0 after:bg-current after:transition-transform after:content-[\'\'] after:[mask-position:center] after:[mask-repeat:no-repeat] after:[mask-size:contain] after:[mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h14%27%2F%3E%3Cpath%20d%3D%27m12%205%207%207-7%207%27%2F%3E%3C%2Fsvg%3E)] hover:after:translate-x-0.5',
},
notFor: [{ context: 'a link inside a sentence', instead: 'action.navigate' }],
},