ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
    IntroductionLocal DevelopmentUpdating VersionsNode Modules & Customization
    Configuration
    Writing
    OpenAPI
    Authentication
    Integrations
    Guides
    Extending
    Components
      General
      Documentation
      Form
        ButtonCheckboxSliderSwitchLabel
      Utility
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Form

Button

A flexible button component with multiple variants and sizes for different use cases.

Import

Code
import { Button } from "zudoku/ui/Button";

Variants

Default

Code
<Button variant="default">Default Button</Button>

Destructive

Code
<Button variant="destructive">Delete</Button>

Outline

Code
<Button variant="outline">Outline Button</Button>

Secondary

Code
<Button variant="secondary">Secondary</Button>

Ghost

Code
<Button variant="ghost">Ghost Button</Button>

Link

Code
<Button variant="link">Link Button</Button>

Sizes

Default Size

Code
<Button size="default">Default Size</Button>

Small

Code
<Button size="sm">Small Button</Button>

Large

Code
<Button size="lg">Large Button</Button>

Extra Large

Code
<Button size="xl">Extra Large</Button>

Icon

Code
<Button size="icon"> <PopcornIcon size={16} /> </Button>

As Child

Use the asChild prop to render the button as a different element while maintaining button styling:

Code
<Button asChild> <a href="/link">Link as Button</a> </Button>

Custom Styling

The Button component accepts all standard button HTML attributes and can be customized with additional className:

Code
<Button className="w-full" variant="outline"> Full Width Button </Button>
Edit this page
Last modified on May 29, 2026
Syntax HighlightCheckbox
On this page
  • Import
  • Variants
    • Default
    • Destructive
    • Outline
    • Secondary
    • Ghost
    • Link
  • Sizes
    • Default Size
    • Small
    • Large
    • Extra Large
    • Icon
  • As Child
  • Custom Styling
React
React
React
React
React
React
React
React
React
React
React
React
React
React