DEV Community

Amin Khadivar
Amin Khadivar

Posted on

A Minimal UI Component Kit for React, Tailwind CSS v4 - Setxo-React npm package

As a full-stack developer, I often faced the same frustrations when building UIs in React:

Headless libraries that require too much wiring

UI kits bloated with styles I didnโ€™t need

Awkward integration between Tailwind CSS and React transitions
Enter fullscreen mode Exit fullscreen mode

So I decided to build my own: Setxo โ€” a lightweight, unstyled, and fully customizable component library powered by Tailwind CSS and Framer Motion.

Setxo is not another UI kit with predefined themes or hundreds of props. It gives you complete control over the look and behavior of your components โ€” while still offering smooth interactions and sensible defaults.

๐ŸŽฏ Why Setxo?

Hereโ€™s what makes Setxo stand out:

๐Ÿ› ๏ธ Built with Tailwind CSS v4 in mind

๐ŸŽž๏ธ Framer Motion used for all transitions and animations

๐Ÿ“ฆ Tree-shakable and lightweight bundle size

๐ŸŽฏ Fully controlled components

๐Ÿงฉ Common UI patterns like Modal, Drawer, Tabs, Popover, Tooltip, Dropdown, Accordion

๐Ÿ’… Unstyled by default โ€” style it your way
Enter fullscreen mode Exit fullscreen mode

Setxo is perfect for developers who donโ€™t want to sacrifice control just to save a few hours on UI boilerplate.
๐Ÿงช Example Usage

Letโ€™s look at a simple example with the Drawer component:

import { Drawer , Button } from 'setxo-react'

export default function Example() {

  return (
    <Drawer
     id="topDrawer"
     placement="top"
     width="w-full"
     title="Top Drawer"
     trigger={
      <Button color="primary">Show top drawer</Button>
     }
     content={
      <>
       <p>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Eget dolor morbi non arcu. Et odio pellentesque diam volutpat commodo sed. Quam quisque id diam vel quam. Vel quam elementum pulvinar etiam non. Lacus vestibulum sed arcu non odio euismod lacinia at quis. Venenatis lectus magna fringilla urna porttitor. Vulputate odio ut enim blandit volutpat maecenas. Aenean sed adipiscing diam donec adipiscing tristique. Pretium nibh ipsum consequat nisl. Semper viverra nam libero justo laoreet sit amet cursus sit.
      </p>
      <div className="sm:flex grid">
       <Button color="primary">Call to action</Button>
      </div>
     </>
    }
   />
  )
}
Enter fullscreen mode Exit fullscreen mode

All components are headless and unstyled โ€” built to blend perfectly with your Tailwind setup.
๐Ÿ“š Whatโ€™s Included?

Current list of components:

Accordion , Alert , Avatar , Badge , Breadcrumb , Button , Carousel , CloseButton , Collapse , Drawer , Dropdown , Modal , Nav , Navbar Pagination , Popover , Progress , Spinner , Tab , Tooltip , Divider , Image , Links , List , Table , Typography , Forms , Checkbox , FormControl , Radio , Range , Select , Switch , DarkModeToggle , 

โ€ฆand more coming soon!
Enter fullscreen mode Exit fullscreen mode

You can check the full documentation here:
๐Ÿ‘‰ [https://setxo.com (๐ŸŒ Live Demo)]

After years of freelance work and building dashboards, admin panels, and full websites, I realized I was repeating myself โ€” copy/pasting similar component logic again and again.

Setxo is a product of that repetition โ€” distilled into a clean, reusable kit with animations and developer experience in mind.
๐Ÿงญ Roadmap

Hereโ€™s whatโ€™s coming soon to Setxo:

Dark mode support

Accessibility improvements (ARIA roles & keyboard nav)

Storybook UI explorer

Example templates

JavaScript improvements
Enter fullscreen mode Exit fullscreen mode

๐Ÿค Contribute

Iโ€™d love your feedback or suggestions!

Whether itโ€™s bug reports, pull requests, or just a โญ star on GitHub, it means a lot โ€” especially for open-source devs working from underrepresented regions.

[GitHub: https://github.com/aminkhadivar/setxo-react]

๐Ÿ‘จโ€๐Ÿ’ป About Me

Iโ€™m Amin Khadivar, a full-stack React + Laravel developer from Iran ๐Ÿ‡ฎ๐Ÿ‡ท, working freelance for over 7 years. Setxo is my attempt at giving back to the dev community and making UI building a little smoother.

๐Ÿ‘‰ Documentation: [https://setxo.com]
๐Ÿ‘‰ Package: [https://www.npmjs.com/package/setxo-react]

๐Ÿ™ Final Words

If youโ€™ve ever wanted a modern, lightweight, and fully customizable UI component kit that respects your Tailwind setup โ€” Setxo is built for you.

Try it. Fork it. Contribute. Or just drop me a note โ€” Iโ€™d love to hear from you.

npm install setxo-react
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
kalouvalou_b48519b66c98f6 profile image
KalouValou

Wow , thanks man