@platfrmr/ui-components
v0.5.614
Published
This library consist of daisyui tailwind components that can be reused in any Angular v18+ project.
Downloads
1,294
Readme
@platfrmr/ui-components
This library consist of daisyui tailwind components that can be reused in any Angular v18+ project.
list of ui components
- card
- carousel
- chatbubble
- checkbox
- countdown
- EmptyState
- features
- fileinput
- footer
- hero
- indicator
- inputgroup
- loading
- logocloud
- modal
- navbar
- stats
- Testimonials
Install package
Run npm i --save @platfrmr/ui-components@latest
to install the latest package.
Import styles to global css file of angular app
Add @import "../node_modules/@platfrmr/ui-components/assets/styles.css";
inside the global styles.css file
Import Module to any component you want to use it in
Add import to any module or component import { HeroModule} from '@platfrmr/ui-components';
,
Call component using the selector inside the component
Add <uic-hero title="Your title goes here!" description="Your descripiton goes here!" secondHeader="Second header goes here this is above the title." CTALink="/getstarted" CTAText="Get Started" CTA2Link="/signupworkshop" CTA2Text="Sign Up!"></uic-hero>
Test the component inside the app app
Run ng serve