dimaac
v1.0.2
Published
Add DiMaac UI components to your projects
Maintainers
Readme
DiMaac
Add DiMaac UI components to your projects.
Usage
npx dimaac initinit command initializes a components directory for your project.
add
npx dimaac add [component]Adds a new component to your project.
Example:
npx dimaac add MouseTiltCardYou can also use the optional --all flag to install all components:
npx dimaac add --allYou can install the related demos / examples for the related components by using the -e flag with the add command:
npx dimaac add [component] -eExample:
npx dimaac add MouseTiltCard -eTo check all the available components, you can use the add without supplying anything extra:
npx dimaac addAvailable Components
Cards
- MouseTiltCard
- SwipeableCards
Reveals
- TextScrambleReveal
- LiquidImageReveal
Interactive
- MouseTrail
- ContextMenu
Gallery
- ScrollingGallery
- ImageGallery
Loaders
- TextLoader
Layout
- ExpandablePanel
Available Examples
Each component has a corresponding demo example:
- MouseTiltCardDemo
- SwipeableCardsDemo
- TextScrambleRevealDemo
- LiquidImageRevealDemo
- MouseTrailDemo
- ContextMenuDemo
- ScrollingGalleryDemo
- ImageGalleryDemo
- TextLoaderDemo
- ExpandablePanelDemo
File Structure
After installation, your project will have:
your-project/
├── components/
│ ├── cards/
│ │ ├── MouseTiltCard.tsx
│ │ └── SwipeableCards.tsx
│ ├── reveals/
│ │ ├── TextScrambleReveal.tsx
│ │ └── LiquidImageReveal.tsx
│ └── ...
└── examples/
├── cards/
│ ├── MouseTiltCardDemo.tsx
│ └── SwipeableCardsDemo.tsx
├── reveals/
│ ├── TextScrambleRevealDemo.tsx
│ └── LiquidImageRevealDemo.tsx
└── ...Requirements
- Node.js >= 14.0.0
- React project with TypeScript support
- Tailwind CSS
- Required dependencies based on components used
