Compact
Compact Button
A 28 or 32px button with 6px corners for dense admin screens. Five variants and a loading state.
src/components/ui/compact-button.tsxNo ui-sdk
Variants and sizes
Memuat
Import
tsx
import {
CompactButton,
compactButtonVariants,
} from "@/components/ui/compact-button";Guidelines
- Use it inside compact templates and blocks. Regular pages keep the pill-shaped Button.
- Icon buttons (
size="icon") must have anaria-label.