ComponentsBlocksDocsExamples

Accordion
Field
Accordion Menu
Alert Dialog
Avatar
Badge
Breadcrumb
Button
Carousel
Checkbox
Collapsible
Command
Combobox
Context Menu
Date Picker
Dialog
Dropdown Menu
Form
Filters
New
Hover Card
Input
Update
Label
Menubar
Navigation Menu
Popover
Progress
Radio Group
Scroll Area
Select
Separator
Sheet
Slider
Sortable
Switch
Table
Tabs
Tooltip
Toggle
Toggle Group
Tree

Components

Button (unified)

UI Library:

Renders a clickable button or an element styled as a button

Open in
Loading

Installation

pnpm dlx shadcn@latest add @toui/button

Examples

Secondary

Open in
Loading

Destructive

Open in
Loading

Outline

Open in
Loading

Dashed

Open in
Loading

Ghost

Open in
Loading

With Icon

Open in
Loading

Icon Only

Open in
Loading

Loading

Open in
Loading

Badge

Open in
Loading

Size

Open in
Loading

Radius Full

Open in
Loading

Link

Open in
Loading

Full Width

Open in
Loading

Disabled

Open in
Loading

API Reference

This component provides a versatile and customizable button system with various styles, appearances, and sizes.

Button

This is the root component for creating buttons with multiple variants, appearances, sizes, and shapes.

PropTypeDefault
variant enum primary
appearance enum
size enum md
shape enum default
mode enum default
underline enum
underlined enum
asChild booleanfalse
className string

Credits

  • Built with Base UI or Radix UI Slot.
PreviouseBreadcrumbNextCarousel

On This Page

  • Installation
  • Examples
    • Secondary
    • Destructive
    • Outline
    • Dashed
    • Ghost
    • With Icon
    • Icon Only
    • Loading
    • Badge
    • Size
    • Radius Full
    • Link
    • Full Width
    • Disabled
  • API Reference
    • Button
  • Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy