All Projects → kata-ai → Aksara Ui

kata-ai / Aksara Ui

Licence: apache-2.0
Aksara Design System, from Kata.ai.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Aksara Ui

React95
🌈🕹 Refreshed Windows 95 style UI components for your React app
Stars: ✭ 4,877 (+4457.94%)
Mutual labels:  design-system, ui-kit, component-library
design-systems
A list of famous design systems, design languages and guidelines
Stars: ✭ 403 (+276.64%)
Mutual labels:  ui-kit, component-library, design-system
kahi-ui
Straight-forward Svelte UI for the Web
Stars: ✭ 169 (+57.94%)
Mutual labels:  ui-kit, component-library, design-system
Carbon Components Svelte
Svelte implementation of the Carbon Design System
Stars: ✭ 685 (+540.19%)
Mutual labels:  design-system, component-library
Circuit Ui
SumUp's component library for the web
Stars: ✭ 625 (+484.11%)
Mutual labels:  design-system, component-library
Pivotal Ui
Pivotal's design system & component library
Stars: ✭ 637 (+495.33%)
Mutual labels:  design-system, component-library
Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (+228.04%)
Mutual labels:  ui-kit, component-library
Orbit
React components of open-source Orbit design system by Kiwi.com
Stars: ✭ 774 (+623.36%)
Mutual labels:  design-system, component-library
Awesome Ui Component Library
Curated list of framework component libraries for UI styles/toolkit
Stars: ✭ 702 (+556.07%)
Mutual labels:  ui-kit, component-library
Sugui Design System
A design system template for the SugUI components library based on styleguidist
Stars: ✭ 17 (-84.11%)
Mutual labels:  design-system, ui-kit
Website
Website and documentation for Radix.
Stars: ✭ 45 (-57.94%)
Mutual labels:  design-system, component-library
Axiom React
Axiom - Brandwatch design system and React pattern library
Stars: ✭ 41 (-61.68%)
Mutual labels:  design-system, component-library
Components
Primer React components
Stars: ✭ 1,133 (+958.88%)
Mutual labels:  design-system, component-library
Backpack
Backpack Design System
Stars: ✭ 396 (+270.09%)
Mutual labels:  design-system, component-library
Primitives
An open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @modulz.
Stars: ✭ 644 (+501.87%)
Mutual labels:  ui-kit, component-library
Daisyui
⭐️ ⭐️ ⭐️ ⭐️ ⭐️  Tailwind Components
Stars: ✭ 382 (+257.01%)
Mutual labels:  design-system, ui-kit
Clarity
Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
Stars: ✭ 6,398 (+5879.44%)
Mutual labels:  design-system, component-library
Purescript Ocelot
An opinionated component library for Halogen apps
Stars: ✭ 81 (-24.3%)
Mutual labels:  design-system, component-library
Operational Ui
Building blocks for effective operational interfaces
Stars: ✭ 258 (+141.12%)
Mutual labels:  design-system, component-library
Hiui
HIUI is a solution that is adequate for the fomulation and implementation of interaction and UI design standard for front, middle and backend.
Stars: ✭ 366 (+242.06%)
Mutual labels:  design-system, component-library

Aksara UI

aksara /ak·sa·ra/ noun
is a system of visual symbol, usually stamped on paper or other media (stone, wood, leaf, and fabric), to express thoughts and ideas.

Build Status codecov Quality Gate Status Build Status


Aksara is Kata.ai's design system. It contains foundations, voice and tone guidelines, component standards, and other guidelines that systematically improve quality, timeliness, and consistency to our product.

Aksara UI is an implementation of Aksara using the React framework. It is the true implementation of Aksara in raw code form, designed to communicate with users and bring delightful experiences. Aksara UI is the designation for Aksara React components.


Contributing

Aksara UI is developed by the help of developers like you! Please read our Contributing Guidelines to get started on developing Aksara UI.

This project is bound by a Code of Conduct.

Usage

Quickstart

Check out kata-ai/wicara-starter.

Prerequisites

Aksara UI requires styled-components v4+. First, install the core Aksara UI package, Aksara UI React icon library, and styled-components.

# yarn
$ yarn add styled-components @aksara-ui/core @aksara-ui/icons

# npm
$ npm install --save styled-components @aksara-ui/core @aksara-ui/icons

Then, you will need to apply the theme provider as well as the default global styles. Wrap your app inside the AksaraProvider to do so.

import { AksaraProvider } from '@aksara-ui/core';

export default function MyApp({ children }) {
  return <AksaraProvider>{children}</AksaraProvider>;
}

If you would like to use additional styles for AksaraProvider, add the disableInjection prop to AksaraProvider and add your custom styles as follows.

import { css } from 'styled-components';
import { AksaraProvider, injectGlobalStyles } from '@aksara-ui/core';

const styles = css`
  [data-reach-tooltip] {
    z-index: 1;
    pointer-events: none;
    position: absolute;
    padding: 0.25em 0.5em;
    box-shadow: 2px 2px 10px hsla(0, 0%, 0%, 0.1);
    white-space: nowrap;
    font-size: 85%;
    background: #f0f0f0;
    color: #444;
    border: solid 1px #ccc;
  }
`;

const { GlobalStyles } = injectGlobalStyles(styles);

export default function MyApp({ children }) {
  return (
    <AksaraProvider disableInjection>
      <GlobalStyles />
      {children}
    </AksaraProvider>
  );
}

Once you've applied the provider, you can use Aksara UI components in your app. See the example below.

Example

Aksara UI is built in React, with styling done in styled-components. To use these components, import them as follows:

// Example for `<Button />` component.

import * as React from 'react';
import { Button } from '@aksara-ui/core';

export default function Component() {
  return <Button>Push Me</Button>;
}

Read the Storybook for more examples.

Fonts

We use multiple fonts in Aksara UI:

  • The system font stack, for all UI elements within the platform.
  • The Inter font as our primary brand typeface.

Using brand fonts

First, you should install the brand fonts into your project.

# yarn
$ yarn add typeface-inter

# npm
$ npm install --save typeface-inter

Then, in any typography component (e.g. Text, Heading), you can use the brand token in fontFamily.

import * as React from 'react';
import { Heading } from '@aksara-ui/core';

export default function Component() {
  return (
    <Heading scale={700} fontFamily="brand">
      Heading Text
    </Heading>
  );
}

License

All packages in this repoare released under the Apache 2.0 license. Please note that some packages (like our fonts package) may contain third-party materials with different licences. Any third-party acknowledgements are outlined on the "Credits" section on each package's README.

Copyright (c) 2018 Kata.ai and/or contributors. All rights reserved.

Maintainers

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].