Socket
Book a DemoInstallSign in
Socket

@dotkomonline/yacl

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@dotkomonline/yacl

A component library which is built ontop of chakra ui

1.4.0
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

YACL (Yet Another Component Library)

Yet Another Component Library is a React library used by Online, a student organization for informatics students. YACL is built on top of Chakra-UI, which provides great accessibility features and styling options for rapid developement:

YACL usage

Install the library with

yarn add @dotkomonline/yacl

# or

npm install @dotkomonline/yacl

In your entry file, for example index.tsx og _app.tsx, use the provider.

# index.tsx

import { OnlineTheme, ThemeProvider } from "@dotkomonline/yacl";

ReactDOM.render(
  <React.StrictMode>
    <ThemeProvider theme={OnlineTheme} resetCSS>
      <App />
    </ThemeProvider>
  </React.StrictMode>,
  document.getElementById("root")
);

After that you can use any component.

# MyComponent.tsx

import React from 'react'
import { Button } from '@dotkomonline/yacl'

const MyComponent = () => <Button colorScheme="blue">Foobar</Button>

Developement

Start by installing dependencies with npm install and then start the project with npm start.

Keywords

React

FAQs

Package last updated on 10 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.