React components used in all unauth apps
yarn add @unauthapp/react-components
const { Text, TextPrimary, ButtonIcon } from "@unauthapp/react-components";
export default class Home extends React.Components {
render() {
<React.Fragment>
<Text>Sample</Text>
<TextPrimary>Primary Text</TextPrimary>
<ButtonIcon>Button Icon</ButtonIcon>
</React.Fragmment>
}
}
Storybook is deployed at netlify and is accessible at https://unauth-react-components.netlify.com/
- Button with Icon - Button component with right arrow icon on right side.
- Button Primary - Primary button using primary color
- Button External Link - Button for external Links
- Button Home - Home icon as button
- Card - Card container to hold any type of child element
- Failed Icon - Failed Icon
- Success Icon - Success Icon
- Arrow Right - Arrow Right
- Sensor - Sensor icon
- Image - Simple image component
- Input Text - Input text component
- Input Text Disabled - Input text disabled component
- Logo - Simple logo component
- One Field Form - Form with single input field and button
- Receive Loader - Receiving loader component (Gif)
- Send Loader - Sending loader component (Gif)
- Text - Simple text component
- Text Header - Text component for heading
- Text Primary - Primary text component
- Prompt Confirm - Prompt Confirm component
- Toast Success - Success Toast component
- Toast Fail - Fail Toast component
We are constantly working on improving squash and we need all the help we can get. You can contribute to this project by giving suggestions, fixing open issues or by implementing a new feature. Read our contibution guide here
Thank you to all the contributors who help in making this project better 🙌