@sparrowengg/twigs-react
v0.30.0
Published
In house component library for SurveySparrow
Downloads
1,340
Readme
Welcome to twigs ⚡️
In house component library for SurveySparrow.
Features
- Themeable
- Customisable
- Fully accessible
Installation
npm i @sparrowengg/twigs-react;
yarn add @sparrowengg/twigs-react;
Usage
import { Box, Avatar, AvatarImage, AvatarFallback } from '@sparrowengg/twigs-react';
<Box css={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end' }}>
<Avatar size="lg">
<AvatarImage
src="https://images.unsplash.com/photo-1511485977113-f34c92461ad9?ixlib=rb-1.2.1&w=128&h=128&dpr=2&q=80"
alt="John Doe"
/>
<AvatarFallback delayMs={600}>JD</AvatarFallback>
</Avatar>
</Box>