Button | CombricSkip to content

Button

Combric

Native button with bounded visual variants and sizes.

@combric/react · v1.5.1 · Current

Import and usage

import { Button } from "@combric/react";

Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.

Examples

Default button

Disabled button

Variants

Sizes

Accent and danger variants

Radius presets

Leading and trailing icons

Public API

Public exports
Name
Button
Documented contracts
Property / capabilityPublished contract
variantprimary | secondary | ghost | accent | danger
sizesm | md | lg
radiusnone | sm | md | lg | full
Contracttype defaults to button
leadingIcon/trailingIconReactNode decorative slots

Accessibility

Retains native button semantics, disabled behavior, and consumer-provided accessible naming.

Keyboard

Native Enter and Space activation.

CSS and customization

Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.

Source

View source on GitHub