yarn add @adiago/components
npm i @adiago/components
// Add AdiagoRoot component and css at the top level of your app
import { AdiagoRoot } from '@adiago/components';
import '@adiago/components/dist/index.css';
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<AdiagoRoot>
<App />
</AdiagoRoot>
</React.StrictMode>
);
Adiago relies on react
, react-dom
, classnames
, and @heroicons/react
as peer dependencies.
"peerDependencies": {
"@heroicons/react": "^2.0.10",
"classnames": "^2.0",
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
- Alert Dialog
- Audio Player
Basics are done but needs more time and thought for fully rounded solution
- Composed Simple Player
- Composed Complex Player (all player controls, queue, volume)
- Player Provider
- Play Button
- Player state hook (isPlaying, currentAudio, playQueue, fns)
- Player current audio hook
- Player time progress hook
- Player time progress text (option for total time)
- Player Progress/Scrubber (option for scrub control - needs slider)
- Player Volume Control (needs slider)
- Audio Recorder
- Button
- Card
- Checkbox
- Dropdown
- Composed Dropdown (default config)
- Dropdown item color options
- Input
- Label
- Loader
- Progress
- Select
- Scroll Buttons
- Sidebar
- List items
- List Item Action Menu
- Collapsible items
- Composed Sidebar (default config)
- Re-arrangeable items
- Slider
- Switch
- Toast
- Toggle Group
- Tooltip