TidalUI

Button preview

Press, loading, success and disabled states.

free · Essentials · primitive

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add https://tidalui.com/r/tidal-button.json

Import components/ui/tidal.css. Wrap installed components in tidal-scope.

Preview

Button component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import{TidalButton}from"./components/ui/tidal-button";
export default()=><div className="tidal-scope"><TidalButton/></div>;

API and props

TidalButton.loading
boolean | undefined

Optional loading value accepted by this exported component.

TidalButton.variant
"primary" | "secondary" | "ghost" | undefined

Optional variant value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas