@resolutinsurance / ipap-shared
Shared UI, ready to compose.
Explore the components, hooks, utility functions, and types that power Resolut products.@resolutinsurance/ipap-sharedis built to be copied into your next screen.
Install
Add the shared package to your app
GitHub Packages authentication is required. Use a token with read:packages access.
export GITHUB_TOKEN=your_github_tokenpnpm add @resolutinsurance/ipap-shared30+
Components
4
Hooks + lib
TS
Type-safe
Aug 18
Last checked
Component demo
Package Exports
#exportsSmoke test for every public import path. If this page builds, the subpath exports resolve.
@resolutinsurance/ipap-shared/hooks
useIsMobile: false
hooks/use-mobile: false
@resolutinsurance/ipap-shared/lib
randomUUID(): Qv1M3E7h
formatDateForInput(): 2026-08-18
@resolutinsurance/ipap-shared/interfaces
ExportConfig type used for sample-export (2 columns)
@resolutinsurance/ipap-shared/components/ui/button
Component demo
Badge
#badgeComponent demo
Input
#inputComponent demo
Textarea
#textareaComponent demo
PasswordInput
#password-inputComponent demo
Label
#labelComponent demo
Checkbox
#checkboxComponent demo
Switch
#switchComponent demo
RadioGroup
#radio-groupComponent demo
Select
#selectComponent demo
Combobox
#comboboxSelected: (none)
Component demo
Avatar
#avatarComponent demo
Skeleton
#skeletonComponent demo
Separator
#separatorAbove the line
Below the line
Component demo
Card
#cardThis is the body of the card. You can put any content here.
Component demo
Table
#table| Policy | Applicant | Status | Premium |
|---|---|---|---|
| POL-2024-001 | Jane Cooper | Active | $1,240.00 |
| POL-2024-002 | Robert Fox | Pending | $980.00 |
| POL-2024-003 | Esther Howard | Draft | โ |
| Total (active) | $2,220.00 | ||
Component demo
Accordion
#accordionComponent demo
Tabs
#tabsManage your account settings and preferences.
Component demo
Dialog
#dialogComponent demo
Sheet
#sheetComponent demo
Tooltip
#tooltipComponent demo
Pagination
#paginationComponent demo
Stepper
#stepperCurrent step: 2
Vertical
Account
Create your account
- 2
Profile
Fill in your details
- 3
Review
Review information
- 4
Complete
All done!
Horizontal
Account
Create account
- 2
Profile
Your details
- 3
Review
Verify info
- 4
Done
All set
Horizontal โ icons only, labels below
- 2
- 3
- 4
Profile
Fill in your details
Step 2 of 4Component demo
OTPInput
#otp-inputValue:
Component demo
ConfirmModal
#confirm-modalComponent demo
SearchBox
#search-boxComponent demo
WidthConstraint
#width-constraintComponent demo
ImagePicker
#image-pickerImage
Component demo
SignaturePad
#signature-padComponent demo
HomeCard
#home-cardComponent demo
DynamicList
#dynamic-listSample policies
Component demo
RenderDataTable
#render-data-tablePolicy submissions
- All
- Active
- Pending
- Draft
| Policy | Applicant | Status | Premium |
|---|---|---|---|
| POL-2024-001 | Jane Cooper | Active | $1,240.00 |
| POL-2024-002 | Robert Fox | Pending | $980.00 |
| POL-2024-003 | Esther Howard | Draft | โ |
| POL-2024-004 | Cameron Williamson | Active | $1,450.00 |
Component demo
TablePagination
#table-paginationComponent demo
ExportModal
#export-modal