@dominiclisjak/react
TypeScript icon, indicating that this package has built-in type declarations

0.15.2 • Public • Published

@dominiclisjak/react

@dominiclisjak/react is an open-source UI component library designed to make building high-quality, accessible web applications easier. The library focuses on providing low-level UI components with an emphasis on accessibility, customization, and developer experience.

Key Features

  • Accessible: Components in Ark UI are designed with accessibility in mind, adhering to WAI-ARIA design patterns and handling implementation details such as aria and role attributes, focus management, and keyboard navigation.
  • Headless: Components are shipped without styles, giving developers full control over styling.
  • Customizable: The open component architecture allows for customization and customization, providing granular access to each component part.
  • Powered by state machines: Predictable, simplified, and robust component behavior.
  • Developer Experience: The library provides a fully-typed API with a consistent and predictable experience.

Available Components

At the moment, @dominiclisjak/reactoffers the following components:

Installation

To install @dominiclisjak/react, run the following command:

npm install @dominiclisjak/react

or with yarn:

yarn add @dominiclisjak/react

Usage

To use a component from @dominiclisjak/react, import it and include it in your application:

import {
  Slider,
  SliderControl,
  SliderLabel,
  SliderOutput,
  SliderRange,
  SliderThumb,
  SliderTrack,
} from '@dominiclisjak/react'
import { useState } from 'react'

export const MySlider = () => {
  const [value, setValue] = useState(30)

  return (
    <Slider min={-50} max={50} value={value} onChange={(e) => setValue(e.value)}>
      <SliderLabel>Label</SliderLabel>
      <SliderOutput>{value}</SliderOutput>
      <SliderControl>
        <SliderTrack>
          <SliderRange />
        </SliderTrack>
        <SliderThumb />
      </SliderControl>
    </Slider>
  )
}

Documentation

For more detailed documentation and examples, please visit the official documentation.

Contribution

We welcome contributions to @dominiclisjak/react. Please read our contributing guidelines for more information on how to contribute.

Licence

This project is licensed under the terms of the MIT license.

Package Sidebar

Install

npm i @dominiclisjak/react

Homepage

ark-ui.com

Weekly Downloads

0

Version

0.15.2

License

MIT

Unpacked Size

49.3 kB

Total Files

4

Last publish

Collaborators

  • dominiclisjak