# action.more

A link on its own line to more about what is above it, with an arrow after it: Learn more, See all, Full changelog. Write only the words; the arrow (Lucide arrow-right) is added

Component: [`<Action>`](https://www.prongs.dev/docs/components/action.md) · Renders: `<button>` · Profile: [UI](https://www.prongs.dev/docs/intents/ui.md)

## Example

```tsx
<Action intent="action.more" onClick={seeItem}>See</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.

## Choosing between neighbours

Find the row that describes your element, and use the intent on the right.

| If it is for… | Use |
|---|---|
| A link on its own line to more about what is above it, with an arrow after it: Learn more, See all, Full changelog. Write only the words; the arrow (Lucide arrow-right) is added | `action.more` (this page) |
| A link inside a sentence | [`action.navigate`](https://www.prongs.dev/docs/intents/action/navigate.md) |
| A link on its own line to more, like Learn more or See all (rather than [`action.navigate`](https://www.prongs.dev/docs/intents/action/navigate.md)) | `action.more` (this page) |

## Connections

Declared in the registry, both directions. Where an intent is used in your own code is something check and the gallery see; this site has no app code.

- Built from: [`control.link`](https://www.prongs.dev/docs/intents/ui.md#control-link)

## For registry authors

**Starter intents.** These are the intents `prongs add` puts in your registry, shown in this site’s theme. Yours are your own `registry.ts`: 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`](https://www.prongs.dev/docs/intents/ui.md#control-link) — Inline text link

  ```
  text-foreground underline decoration-dotted
  decoration-foreground/50 underline-offset-4
  hover:decoration-foreground focus-visible:decoration-solid
  focus-visible:decoration-2 focus-visible:outline-none
  aria-disabled:pointer-events-none aria-disabled:opacity-50
  ```

- `action.more` (this page) — A link on its own line to more about what is above it, with an arrow after it: Learn more, See all, Full changelog. Write only the words; the arrow (Lucide arrow-right) is added

  ```
  inline-flex w-fit items-center gap-1.5 no-underline
  [&:is(a)]:text-link [&:is(a):hover]:text-link-hover 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

```
text-foreground decoration-dotted decoration-foreground/50
underline-offset-4 hover:decoration-foreground
focus-visible:decoration-solid focus-visible:decoration-2
focus-visible:outline-none aria-disabled:pointer-events-none
aria-disabled:opacity-50 inline-flex w-fit items-center gap-1.5
no-underline [&:is(a)]:text-link [&:is(a):hover]:text-link-hover
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 line to more about what is above it, with an arrow after it: Learn more, See all, Full changelog. Write only the words; the arrow (Lucide arrow-right) is added',
  refs: ['control.link'],
  keywords: ['see', 'learn', 'all'],
  binding: {
    classes: 'inline-flex w-fit items-center gap-1.5 no-underline [&:is(a)]:text-link [&:is(a):hover]:text-link-hover 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' }],
},
```
