app like that
arto
arto

Arto is a type-safe class name management library for building scalable UIs. It supports creating variants, states, and conditional styling. It is fully extensible, lightweight, and framework-agnostic, compatible with CSS strategies like Tailwind and PostCSS.

Features

Variants

Allows you to clearly define style options (e.g., size, color) without messy conditional logic, making UI theming more organized and manageable.

States

Enables application of conditional classes for states like 'disabled', 'hovered', etc., supporting optional dependency logic for more dynamic UI behaviors.

Rules & Logic

Offers the ability to dynamically add or remove classes using logical conditions like 'if-else', 'switch', or custom callbacks, enhancing flexibility.

Fully Extensible

Provides an API that supports extending functionality, such as theming or framework integration, allowing the library to adapt to specific project needs.

Type Safety

Offers type definitions for robust validation and developer convenience, reducing errors and improving code maintainability.

Lightweight

Comes with no external dependencies, integrating seamlessly with frameworks like React, Vue, Svelte, or plain JS, ensuring performance efficiency.

Framework Agnostic

Compatible with various CSS strategies such as Tailwind, PostCSS, CSS Modules, enabling wide usage across different development environments.