With trailing icon
A block-level outline button that shows the label "Continue" followed by a right-pointing arrow icon, signalling forward navigation or progression. It is a ready-made composition of the shadcn Button component with the lucide-react ArrowRightIcon.


shadcn add · no workarounds · theme neutral (none shipped)Installation
Requires @flx in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
import { Button05 } from '@/components/flx/patterns/button/button-05'export default function Page() { return <Button05 />}- Use as a secondary call to action that moves the user to the next step, such as a wizard, onboarding flow, or form continuation.
- Use when a forward arrow should visually reinforce that the action navigates or advances, rather than submits or deletes.
- Use in cards, dialogs, or footers where a lighter outline style is preferred over a solid primary button.
- Avoid when the action is destructive or needs strong emphasis; use a filled primary variant instead.
Examples
Basic usage
Render the button directly with no props. The label and arrow are fixed inside the component.
import { Button05 } from '@/components/flx/patterns/button/button-05'export default function Example() { return <Button05 />}Step footer in a multi-step form
Place the button at the end of a form section to continue to the next step.
import { Button05 } from '@/components/flx/patterns/button/button-05'export default function StepFooter() { return ( <div className="flex justify-end border-t pt-4"> <Button05 /> </div> )}Onboarding card action
Use inside a card to lead the user into the next onboarding screen.
import { Button05 } from '@/components/flx/patterns/button/button-05'export default function OnboardingCard() { return ( <div className="flex flex-col gap-4 rounded-lg border p-6"> <h2 className="text-lg font-semibold">Welcome aboard</h2> <p className="text-sm text-muted-foreground">Set up your workspace in a few minutes.</p> <Button05 /> </div> )}Accessibility
- The accessible name comes from the visible text "Continue"; the arrow icon is supplementary and should not carry extra meaning.
- The component renders the shadcn Button, a native button element, so it is keyboard focusable and activates with Enter or Space.
- Because the label is fixed inside the component, surrounding context (such as a form heading) should make clear what "Continue" advances to.
- Keep the focus-visible ring provided by the base Button intact so keyboard users can see focus.
Docs written by anthropic:claude-haiku-5-5 from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
Use the "With trailing icon" component (flx/button-05) from its shadcn registry.1. Install it with: npx shadcn@latest add @flx/button-052. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { Button05 } from '@/components/flx/patterns/button/button-05'export default function Page() { return <Button05 />}```Files & dependencies
- registry/patterns/button/button-05.tsx→ components/flx/patterns/button/button-05.tsx