react button and buttongroup components with multiple variants, appearances, sizes, radius options, icons, ripple feedback, and fully typed typescript support
npm install @aristobyte-ui/button
Fully-featured, modular Button components for AristoByteUI with ripple effects, composable groups, variants, appearances, sizes, radius options, icons, and loading states.
``bashInstall via Yarn
yarn add -D @aristobyte-ui/button
🛠 Usage
`tsx
import { Button, ButtonGroup } from "@aristobyte-ui/button";
import { IconSample } from "@aristobyte-ui/icons";
`📂 Presets Available
- Button Variants:
default, primary, secondary, success, error, warning
- Button Appearances: solid, outline,outline-dashed, no-outline, glowing
- Button Sizes: xsm, sm, md, lg, xlg
- Button Radius: none, sm, md, lg, full
- ButtonGroup Alignment: horizontal, vertical🔧 Example in a Package
`tsx
``- Performance-first: Lightweight CSS ensures fast rendering and smooth transitions.
- Fully typed: TypeScript-first API ensures predictable usage and IDE autocomplete.
- AristoByteUI ready: Seamlessly integrates with design tokens and SCSS modules.
- Flexible: Supports multiple variants, appearances, sizes, radius options, icons, ripple-enabled interactive feedback, and composable groups.
- Modular architecture: Button and ButtonGroup components are fully composable.
- Declarative styling: SCSS modules keep styles maintainable and scoped.
- Strict typing & runtime flexibility: Props fully typed while allowing runtime overrides.
- Developer experience optimized: Easy to use with predictable behavior and minimal boilerplate.
MIT © AristoByte