Button
Button renders the Gaudi action and link-button variants.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/button-async-success.json.
Usage
Playground
Examples
Async loading and success
Avatar and two-line content
Copy with feedback
Counts, badges and shortcuts
Icons, loading and links
Social sign-in
Toggling icon and label
API
8 props
Accessibility
Button renders native buttons for actions and links for navigation. Disabled link variants are removed from tab order.
Related
LinkLink centralizes navigation semantics for internal, anchor, and external links.IconStatic and interactive artwork from Gaudi’s centralized icon registry. AnimatedIcon adds opt-in motion with shared size and color tokens, a searchable catalogue, and host-controlled activation.5 examplesTooltipBrief contextual help attached to an independently labelled control.4 examplesAvatarProfile images, resilient initials, presence, verification, account menus and collaborator groups. The existing Avatar API and curated patterns share the same image and fallback primitives.10 examplesLoaderAn accessible loading indicator with arcs, dots, expanding rings, and an indeterminate bar. Loader replaces the former Spinner component and story.3 examplesKbdKbd renders keyboard keys and multi-key shortcuts.2 examples