npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2026 – Pkg Stats / Ryan Hefner

after-ds-ui

v1.0.64

Published

## πŸ“‹ **Description**

Readme

After Ds UI - Design System

πŸ“‹ Description

After Ds UI is the official ingresse.com Design System built for React projects, offering a collection of reusable components styled with TailwindCSS. This system provides a consistent base for interface development, ensuring performance and productivity.


πŸš€ Installation and Setup

Prerequisites

  • Node.js (v14 or higher)
  • yarn (v1.22 or higher)
  • Project configured with ReactJS (v17 or higher)

Step 1: Install After Ds UI

Add After Ds UI to your project with the following command:

yarn add after-ds-ui

Step 2: Install TailwindCSS in the consuming project

Since After Ds UI uses TailwindCSS for styling, you also need to configure it in the main project.

1. Install TailwindCSS and dependencies:

yarn add -D tailwindcss postcss autoprefixer
yarn tailwindcss init -p

2. Configure tailwind.config.js:

Edit the tailwind.config.js file to include the paths for the Design System components:

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    './src/**/*.{js,jsx,ts,tsx}',
    './node_modules/after-ds-ui/**/*.{js,jsx,ts,tsx}',
  ],
  theme: {
    extend: {},
  },
  plugins: [],
};

3. Configure postcss.config.js:

Make sure the postcss.config.js file has the following configuration:

module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
  },
};

4. Create the Main CSS File:

Create the src/index.css file and add the TailwindCSS directives:

@tailwind base;
@tailwind components;
@tailwind utilities;

5. Import the CSS into the Main Project:

Open index.tsx or App.tsx and import the main CSS file:

import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App.tsx';

import './index.css';

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <App />
  </StrictMode>
);

🎨 Using After Ds UI Components

Now that the Design System and TailwindCSS are configured, you can start using the components provided by After Ds UI.

Example - Button

// App.tsx
import React from 'react';
import { Button } from 'after-ds-ui'; // Importing the component

function App() {
  return (
    <div>
      <Button text="Click Me" onClick={() => console.log('Clicked')} />
    </div>
  );
}

export default App;

πŸ§ͺ Testing

After Ds UI uses Storybook and Chromatic to ensure the integrity of the components.

  • Run Storybook:

    yarn storybook
  • Build Storybook for Chromatic:

    yarn build-storybook

πŸ› οΈ Common Issues and Solutions

  1. Tailwind styles are not applied:

    • Check if the path to after-ds-ui is correctly added in tailwind.config.js.
  2. Error: Unexpected token @ when importing CSS:

    • Ensure that postcss is properly configured.
  3. React and React-DOM dependency errors:

    • Make sure that your project uses compatible versions with the After Ds UI peer dependencies:
      • React: ^18.3.1
      • React-DOM: ^18.3.1

πŸ“¦ Publishing New Versions

When a PR is opened and merged into the main branch, the workflow automatically runs and publishes:

Note: There is no manual deployment script.


πŸ‘₯ Contribution

If you want to contribute to After Ds UI, follow these steps:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b my-feature
  3. Make your changes and open a Pull Request.