valence-project / react-valence

React based accessible component library

Home Page:https://valence-project.github.io/react-valence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A component library for generating accesssible, progressive, and flexible user interfaces.

Features

  • Accessible – react-valence components are designed with accessibility top-of-mind and include full screen reader and keyboard navigation support.
  • Adaptive – react-valence components are designed to work with mouse, touch, and keyboard interactions. They’re built with responsive design principles to deliver a great experience, no matter the device.
  • International – react-valence components are designed to support over 30 languages, including support for right-to-left languages, date and number formatting, and more.
  • Customizable theming – react-valence supports custom themes and icons to match your brand, including automatic support for dark mode.

Example

An example of using react-valence.

import { Provider, defaultTheme, Button } from "react-valence";

// Render it in your app!
function App() {
  return (
    <Provider theme={theme}>
      <Button variant="cta" onPress={() => alert("Hey there!")}>
        Hello World!
      </Button>
    </Provider>
  );
}

Learn more

react-valence began as fork of Adobe's design system React Spectrum. It uses hooks from Adobe's opensource libraries: React Aria and React Stately. The goal of this project is to provide a clear path to creating accessible, customizable user interfaces.

About

React based accessible component library

https://valence-project.github.io/react-valence

License:Other


Languages

Language:TypeScript 39.6%Language:JavaScript 28.9%Language:CSS 22.1%Language:SCSS 9.5%