examples/button-secondary.tsx
import { Button } from "@/components/wensity/button";export function ButtonSecondary() {return <Button variant="secondary">Save draft</Button>;}
A dependable action primitive for every app flow.
Practical examples and common states for the same installable component.
Quiet supporting action that still reads as clickable.
import { Button } from "@/components/wensity/button";export function ButtonSecondary() {return <Button variant="secondary">Save draft</Button>;}
Bright CTA reserved for dark heroes or one-action moments.
Danger action for deletion or irreversible changes.
Optional left and right icon slots without extra wrappers.
Built-in loading state disables the action and keeps width stable.
import { Button } from "@/components/wensity/button";export function ButtonLoading() {return <Button loading>Saving changes</Button>;}
Toolbar and dense UI action with minimal chrome.
import { Button } from "@/components/wensity/button";export function ButtonGhost() {return <Button variant="ghost">Cancel</Button>;}
Disabled buttons keep layout stable while clearly dropping emphasis.