You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ui-sample-321

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ui-sample-321

A sample

0.0.15-beta.30
latest
npmnpm
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 14 May 2023

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