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 🙏

© 2024 – Pkg Stats / Ryan Hefner

xsreact-ui

v0.0.1

Published

A simple UI library for React

Downloads

2

Readme

XSUI - React UI Library

Welcome to XSUI, a comprehensive React UI library designed to provide developers with a wide array of high-quality components for building modern, responsive, and accessible web applications. Our library is built on React 18, leveraging the latest features and best practices in the ecosystem to ensure your projects are efficient and state-of-the-art.

Features

  • Comprehensive Component Set: From basic elements like Buttons and Inputs to complex components such as Accordions, Steppers, and Timelines, XSUI covers a broad spectrum of UI requirements.
  • TypeScript Support: Full TypeScript support ensures type safety, autocompletion, and ease of use, enhancing the development experience.
  • Tailwind CSS Integration: Styled with Tailwind CSS for easy customization and utility-first styling, making your application look great with minimal effort.
  • Accessibility Focused: Accessibility is at the forefront of XSUI, with components designed to be accessible and inclusive.
  • Motion Design: Leverage framer-motion for smooth, declarative animations, bringing your UI to life.
  • Form Validation: Integrated with Zod for robust form validation, making your forms easier to manage and validate.
  • Flexible Theming: Customize and theme your components with our theming capabilities to match your brand identity.

Installation

To get started with XSUI in your project, install the package via npm:

npm install xsui

Or via yarn:

yarn add xsui

Ensure you have the peer dependencies installed:

npm install react react-dom @floating-ui/react framer-motion react-icons zod

Usage

Import the components you need from XSUI and start using them in your project:

import React from 'react';
import { Button, TextField } from 'xsui';

const App = () => {
  return (
    <div className="p-4">
      <Button variant="primary">Click Me</Button>
      <TextField label="Name" placeholder="Enter your name" />
    </div>
  );
};

export default App;

Customizing with Tailwind CSS

XSUI components are styled using Tailwind CSS, making them highly customizable. You can override the styles by using Tailwind's utility classes or configuring your tailwind.config.js to match your design requirements.

Components

XSUI includes a wide range of components categorized into several sections. Here's a brief overview:

  • General: Button, Icon, Spinner, Badge...
  • Navigation: Navbar, Sidebar, Tabs, Breadcrumbs...
  • Data Display: Accordion, Timeline, List, Table, Card...
  • Feedback: Snackbar, Alert, Dialog, Progress Stepper...
  • Forms: TextField, Checkbox, Radio, Switch, Select, Range...

For detailed documentation on each component, including props, usage examples, and customization options, please refer to the XSUI Documentation.

Contributing

We welcome contributions to XSUI! Whether it's adding new components, fixing bugs, or improving documentation, your help is appreciated. Check out our Contributing Guide for more information on getting started.

License

XSUI is open source and available under the MIT license. Feel free to use it in your projects, and we'd love to hear about your experiences and see what you build!


This README provides a starting point for your UI library. Adjust the links, descriptions, and examples according to your actual documentation and repository structure.

  • /src/AutoComplete/Item.tsx
  • /src/AutoComplete/index.tsx
  • /src/Accordion/Context.tsx
  • /src/Accordion/Item.tsx
  • /src/Accordion/index.tsx
  • /src/styles/context.tsx
  • /src/styles/ColorContext.tsx
  • /src/Alert/index.tsx
  • /src/Badge/index.tsx
  • /src/Button/index.tsx
  • /src/Banner/index.tsx
  • /src/Breadcrumbs/index.tsx
  • /src/ButtonGroup/index.tsx
  • /src/Cards/Card.tsx
  • /src/icons/InstallationIcon.tsx
  • /src/icons/LightbulbIcon.tsx
  • /src/icons/PluginsIcon.tsx
  • /src/icons/PresetsIcon.tsx
  • /src/icons/ThemingIcon.tsx
  • /src/icons/WarningIcon.tsx
  • /src/Icon/index.tsx
  • /src/Callout/index.tsx
  • /src/Carousel/MotionCarousel.tsx
  • /src/Carousel/CarouselContext.tsx
  • /src/Loader/index.tsx
  • /src/Carousel/index.tsx
  • /src/Checkbox/index.tsx
  • /src/Dialog/DialogContext.tsx
  • /src/Dialog/Content.tsx
  • /src/Dialog/Title.tsx
  • /src/Dialog/Description.tsx
  • /src/Dialog/DialogClose.tsx
  • /src/Dialog/Button.tsx
  • /src/Dialog/index.tsx
  • /src/Divider/index.tsx
  • /src/Drawer/Context.tsx
  • /src/Drawer/DrawerComponent.tsx
  • /src/Drawer/index.tsx
  • /src/FAB/FABContext.tsx
  • /src/FAB/FABItem.tsx
  • /src/FAB/FABList.tsx
  • /src/FAB/index.tsx
  • /src/Forms/FormComponent.tsx
  • /src/Forms/index.tsx
  • /src/InputFields/EditableTextField.tsx
  • /src/InputFields/Email.tsx
  • /src/InputFields/InputField.tsx
  • /src/InputFields/Keywords.tsx
  • /src/Layout/StaticSidebar.tsx
  • /src/Layout/index.tsx
  • /src/Link/Context.tsx
  • /src/Link/LinkComponent.tsx
  • /src/Link/index.tsx
  • /src/List/ListGroup.tsx
  • /src/Menu/MenuContext.tsx
  • /src/Menu/MenuTree.tsx
  • /src/Menu/MenuItem.tsx
  • /src/Menu/MotionMenu.tsx
  • /src/Menu/index.tsx
  • /src/Navbar/SidebarSlider.tsx
  • /src/Navbar/index.tsx
  • /src/Notification/index.tsx
  • /src/InputFields/Password.tsx
  • /src/Radio/index.tsx
  • /src/Range/index.tsx
  • /src/Rating/index.tsx
  • /src/Select/SelectContext.tsx
  • /src/Select/Option.tsx
  • /src/Select/index.tsx
  • /src/Snackbar/index.tsx
  • /src/Navbar/Sidebar.tsx
  • /src/Spinner/index.tsx
  • /src/Switch/index.tsx
  • /src/Tab/TabButton.tsx
  • /src/Tab/TabContext.tsx
  • /src/Tab/TabItem.tsx
  • /src/Tab/index.tsx
  • /src/Tab/TabComponent.tsx
  • /src/InputFields/TextField.tsx
  • /src/Timeline/index.tsx
  • /src/Views/BoardView.tsx
  • /src/Views/ListView.tsx
  • /src/Views/GridView.tsx
  • /src/Views/TableView.tsx
  • /src/common/input.tsx
  • /src/Stepper/BulletTextStepper.tsx
  • /src/Stepper/CircleSteper.tsx
  • /src/Stepper/CircleTextStepper.tsx
  • /src/Stepper/DotStepper.tsx
  • /src/Stepper/DotTextStepper.tsx
  • /src/Stepper/StepperContext.tsx
  • /src/Stepper/HorizontalStepper.tsx
  • /src/Stepper/PanelStepper.tsx
  • /src/Stepper/ProgressStepper.tsx
  • /src/Stepper/VerticalStepper.tsx
  • /src/Stepper/StepperComponent.tsx