5-Minute Setup
Get up and running with Atomix in just a few minutes. Follow these simple steps to start building beautiful interfaces.
Make sure you have React 18+ and Node.js 16+ installed before proceeding.
Choose your preferred package manager and run the installation command in your project directory.
npm install @shohojdhara/atomixyarn add @shohojdhara/atomixpnpm add @shohojdhara/atomixImport the Atomix CSS in your main entry point (e.g., main.tsx or App.tsx).
1import React from 'react';
2import ReactDOM from 'react-dom/client';
3import App from './App';
4
5// Import Atomix CSS
6import '@shohojdhara/atomix/css';
7
8ReactDOM.createRoot(document.getElementById('root')!).render(
9 <React.StrictMode>
10 <App />
11 </React.StrictMode>
12);Optional: Theme Customization
You can also import specific theme files or configure your own using CSS variables to match your brand perfectly.
Import and use components anywhere in your application with full type safety and accessibility.
1import { Button, Card } from '@shohojdhara/atomix';
2
3function App() {
4 return (
5 <Card variant="primary" className="u-p-8">
6 <h1 className="u-fs-4xl u-font-bold u-mb-4">Hello Atomix!</h1>
7 <Button variant="primary" iconName="Sparkle">Click Me</Button>
8 </Card>
9 );
10}Explore our comprehensive collection of components and guides to level up your development workflow and build stunning interfaces.