Socket
Socket
Sign inDemoInstall

ui-sample-321

Package Overview
Dependencies
27
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ui-sample-321

A sample


Version published
Maintainers
1
Created

Readme

Source

Ankra UI

UI Elements for React.

Storybook

Run yarn storybook to get a Storybook installation to see all the components.

Update package

Whenever you need to update the package on NPM, change the version number in the package.json and then use npm publish.

Setup

Custom Theme

To enable all the theme variables in your project, you can add the ankraTheme variable to the extend object in your tailwind.config.js file. Simply include the following code snippet:

const { ankraTheme } = require('ankra-ui')

module.exports = {
  theme: {
    extend: {
      ...ankraTheme,
      // other configurations...
    },
  },
  // other configurations...
}
Compile classes

Add the following to your tailwind.config.js in order for your project to compile the css of the components. We do this in order to prevent duplicate classes in your project.

content: [
  ...,
   "./node_modules/ankra-ui/**/*.{js,ts,jsx,tsx}",
]

FAQs

Last updated on 14 May 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc