New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ankr-ui

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ankr-ui

A React UI library of common components we use in the projects we build for our tutorials at [Ankr](https://ankr.hashnode.dev).

  • 0.3.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ankr-ui

A React UI library of common components we use in the projects we build for our tutorials at Ankr.

Click here to check out the library's Storybook and all the components

Usage guide

  1. Install the package from npm
# using npm
npm install ankr-ui

# using yarn
yarn add ankr-ui
  1. Import the CSS at the root of your project (_app.tsx in Next.js, main.tsx in Vite, index.tsx in CRA)
import 'ankr-ui/dist/tailwind.css';
import '../styles/globals.css';
import type { AppProps } from 'next/app';

function MyApp({ Component, pageProps }: AppProps) {
  return <Component {...pageProps} />
}

export default MyApp;
  1. Import the component you want to use
import { Button } from 'ankr-ui';

const Page = () => {
  return <Button>gm</Button>;
};

export default Page;

Local development

  1. Clone the repo
git clone https://github.com/dhaiwat10/ankr-ui.git
  1. cd into the directory and install the dependencies
cd ankr-ui && yarn
  1. Run the development server
yarn dev
  1. Run the Storybook
yarn storybook

FAQs

Package last updated on 27 Jun 2022

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc