Lema Component Catalog

Design System
Introduction
Typography
Spacing
Colors
Lema UI
UploadArtifactStep
CompanyProfileInfo
ProfileStep
AutoCompleteOption
AddedBadge
Anchor
ArtifactHyperlink
CompanyAnalyzingBadge
ArtifactExpirationDate
AssessmentDecisionBadge
CompanyRiskBadge
SelectCompanyRisk
CompanySummaryBadge
ControlStatusBadge
SelectControlStatusBadge
DataTypeBadge
DocumentStatusBadge
TimelineItem
FindingSeverityBadge
SelectFindingSeverityBadge
FindingStatusBadge
SelectFindingStatusBadge
InherentRiskSourceBadge
Suggested
CompanyVerificationBadge
SelectAssessmentStatus
CompanyUrgentBadge
UserStatusBadge
AddBookmarkModal
BookmarkModal
EditBookmarkModal
HeadlessTable
PieChart
ConclusionStats
ControlDistribution
ControlEvidence
InstanceFindingTable
CountryFlagIcon
DashedContainer
DataTypeExplanation
DataType
DataTypeTableCell
DatePicker
Documentation
ControlCard
Dropdown
EditableText
Evidence
ExportContent
ExportButton
FeatureFlagToolTip
FindingDistribution
Hyperlink
IconsToolBar
AssessmentDecisionIcon
CompanyRiskIcon
FindingStatusSymbol
PermissionSymbol
PermissionIcon
RiskLevelIcon
RiskLevelSymbol
TimelineIcon
ImplicationIndicator
ImplicationIndicatorList
PermissionIndicator
PermissionIndicatorList
InventoryHeader
Irq
LastChanged
Loading
MarkdownHyperlink
Markdown
LinkTabs
NavigationBar
OptimisticSwitch
ProfileTeaser
RadioItem
ReadOnlyIrq
CategorySection
SubCategoryItems
LiveblocksAvatars
LiveblocksAvatar
CollaborativeEditor
RichTextEditor
NotesProvider
Toolbar
ToolbarButton
ConnectionStatusBadge
Item
SelectWithComment
InputComment
Select
SourcesAvatarGroup
StatisticsRow
FilterBar
CheckboxFilter
FilterProvider
FilterDropdown
SearchFilter
ShowFilterTagsToggler
FilterTag
FilterTags
InternalTable
GroupedTable
NestedTable
InternalTable
Table
ViewBar
ViewTab
HorizontalTabs
VerticalTabs
TextOverflow
TextWithIcon
AddComment
ChangeCard
CommentCard
DateHeader
Upload
UserAvatar
UserProfileButton
VariancePercentage
SentimentIcon
Primitives
Alert
AlertTitle
AlertDescription
Badge
Button
Calendar
Card
CardHeader
CardTitle
CardDescription
CardContent
CardFooter
Chart
ChartStyle
ChartTooltip
ChartLegend
CommandDialog
CommandShortcut
DialogHeader
DialogFooter
DropdownMenuShortcut
Input
Skeleton
Table
TableHeader
TableBody
TableFooter
TableRow
TableHead
TableCell
TableCaption
Textarea
Toaster
Tooltip

UploadArtifactStep

API Reference

PropTypeDefault

CompanyProfileInfo

API Reference

PropTypeDefault
companyInfo requiredunion

ProfileStep

API Reference

PropTypeDefault

AutoCompleteOption

API Reference

PropTypeDefault
company requiredAutocompleteItem

AddedBadge

API Reference

PropTypeDefault

Anchor

Description

Anchor is used as table of contents navigation element, expected to be located at the left side of the screen showing what Section of the page the user is currently viewing. It also allows navigating to the different sections using Web Anchors (the URL value after the hashtag.) For navigation to work, make sure a React element with the matching `id` field is present in the page.

API Reference

PropTypeDefault
items requiredArray

CompanyAnalyzingBadge

API Reference

PropTypeDefault

ArtifactExpirationDate

API Reference

PropTypeDefault
expirationDate requiredDate

AssessmentDecisionBadge

API Reference

PropTypeDefault
decision requiredAssessmentDecision

CompanyRiskBadge

API Reference

PropTypeDefault
riskLevel requiredRiskLevel
variant union'default'

SelectCompanyRisk

API Reference

PropTypeDefault
selectedRiskLevel requiredRiskLevel
comment requiredstring
setSelectedRiskLevel requiredsignature
setComment requiredsignature

CompanySummaryBadge

API Reference

PropTypeDefault
companySummary requiredPlainMessage
disableAction booleanfalse

ControlStatusBadge

API Reference

PropTypeDefault
status requiredControlStatus

SelectControlStatusBadge

API Reference

PropTypeDefault
controlId requiredstring
status requiredControlStatus
extraTrackingProps EventProperties
readOnly booleanfalse

DataTypeBadge

API Reference

PropTypeDefault
variant requiredunion

DocumentStatusBadge

API Reference

PropTypeDefault
status requiredDocumentStatus
error DocumentError
lastUpdated Timestamp
id requiredstring

TimelineItem

API Reference

PropTypeDefault
label requiredstring
lastUpdated Timestamp
showLastUpdated boolean

FindingSeverityBadge

API Reference

PropTypeDefault
level requiredRiskLevel
variant union'bold'

SelectFindingSeverityBadge

API Reference

PropTypeDefault
severity requiredRiskLevel
findingId requiredstring
suggestedEnabled requiredboolean
extraTrackingProps EventProperties
readOnly booleanfalse

FindingStatusBadge

Documentation

API Reference

PropTypeDefault
status requiredFindingStatus

SelectFindingStatusBadge

Documentation

API Reference

PropTypeDefault
status requiredFindingStatus
suggestedWorkStatusEnabled requiredboolean
findingId requiredstring
extraTrackingProps EventProperties
readOnly booleanfalse

InherentRiskSourceBadge

API Reference

PropTypeDefault
inherentRiskSource requiredInherentRiskSource

Suggested

API Reference

PropTypeDefault

CompanyVerificationBadge

API Reference

PropTypeDefault
status requiredCompanyStatus

SelectAssessmentStatus

API Reference

PropTypeDefault
status requiredCompanyStatus
onValueChange requiredsignature

CompanyUrgentBadge

API Reference

PropTypeDefault

UserStatusBadge

API Reference

PropTypeDefault
status requiredUserStatus

AddBookmarkModal

API Reference

PropTypeDefault
companyId requiredstring
visible requiredboolean
onClose requiredsignature

BookmarkModal

API Reference

PropTypeDefault
visible requiredboolean
onCancel requiredsignature
onSubmit requiredsignature
initialValues requiredBookmarkFormValues
title requiredstring
submitButtonText requiredstring

EditBookmarkModal

API Reference

PropTypeDefault
bookmark requiredBookmark
companyId requiredstring
visible requiredboolean
onClose requiredsignature

HeadlessTable

API Reference

PropTypeDefault
disableHover boolean
header Array
rows requiredArray

PieChart

API Reference

PropTypeDefault
data requiredArray

ConclusionStats

API Reference

PropTypeDefault
controlCountStats requiredArray
findingCountStats requiredArray
companyRisk requiredRiskLevel

ControlDistribution

API Reference

PropTypeDefault
controlCountByLevel requiredArray

ControlEvidence

API Reference

PropTypeDefault
control requiredGetControlResponse
findings requiredArray

InstanceFindingTable

API Reference

PropTypeDefault
findings requiredArray

CountryFlagIcon

API Reference

PropTypeDefault

DashedContainer

API Reference

PropTypeDefault
children requiredReactReactNode
className string''
active booleantrue

DataTypeExplanation

API Reference

PropTypeDefault

DataType

API Reference

PropTypeDefault
dataType requiredDataTypeInfo
action signature

DataTypeTableCell

API Reference

PropTypeDefault
dataTypes requiredArray

DatePicker

API Reference

PropTypeDefault
initialDate Date
onDateChange requiredsignature
className string
buttonClassName string
disabled booleanfalse

Documentation

API Reference

PropTypeDefault
documentation DocumentationType
controlIds Array
readOnly boolean

ControlCard

API Reference

PropTypeDefault
controlId requiredstring
readOnly boolean

EditableText

API Reference

PropTypeDefault
text requiredstring
onSave requiredsignature
placeholder string

Evidence

API Reference

PropTypeDefault
factMarkdown requiredstring
defaultOpen booleanfalse

ExportContent

API Reference

PropTypeDefault

ExportButton

API Reference

PropTypeDefault
getExportContent requiredsignature
documentTitle string

FeatureFlagToolTip

API Reference

PropTypeDefault
featureEnabled requiredboolean

FindingDistribution

API Reference

PropTypeDefault
findingCountByLevel requiredArray
hideZero boolean
hideNumbers boolean

IconsToolBar

API Reference

PropTypeDefault

AssessmentDecisionIcon

API Reference

PropTypeDefault
decision requiredAssessmentDecision

CompanyRiskIcon

API Reference

PropTypeDefault
riskLevel requiredRiskLevel
showTooltip booleanfalse

FindingStatusSymbol

API Reference

PropTypeDefault

PermissionSymbol

API Reference

PropTypeDefault

PermissionIcon

API Reference

PropTypeDefault
permission requiredPermissionCategory

RiskLevelIcon

API Reference

PropTypeDefault
level requiredRiskLevel
variant union'color'

RiskLevelSymbol

API Reference

PropTypeDefault

TimelineIcon

API Reference

PropTypeDefault
timelineCase union

ImplicationIndicator

API Reference

PropTypeDefault
implication requiredImplication
variant union

ImplicationIndicatorList

API Reference

PropTypeDefault
activeImplications requiredArray

PermissionIndicator

API Reference

PropTypeDefault
permission requiredPermissionCategory

PermissionIndicatorList

API Reference

PropTypeDefault
permissions requiredArray
showAllIndicators boolean

InventoryHeader

API Reference

PropTypeDefault
title requiredstring
icon requiredReactReactNode
actionElement ReactReactNode

Irq

API Reference

PropTypeDefault
companyId requiredstring

LastChanged

API Reference

PropTypeDefault
lastChanged requiredDate
withTimeCount booleantrue

Loading

API Reference

PropTypeDefault
lineCount number5

Markdown

API Reference

PropTypeDefault

LinkTabs

API Reference

PropTypeDefault

OptimisticSwitch

API Reference

PropTypeDefault

ProfileTeaser

Documentation

Description

ProfileTeaser represents a user in the system and allows to preview extra infromation on hover.

API Reference

PropTypeDefault
username requiredstring
email string

RadioItem

API Reference

PropTypeDefault
disabled booleanfalse
isSelect booleanfalse
value requiredstring
id requiredstring
loading booleanfalse
description string

ReadOnlyIrq

API Reference

PropTypeDefault
inherentRiskGroups requiredArray
companyRisk requiredRiskLevel

CategorySection

API Reference

PropTypeDefault
category requiredstring
categoryHighestSeverity requiredRiskLevel
subCategories requiredArray
isMultiple requiredboolean

SubCategoryItems

API Reference

PropTypeDefault
subCategories requiredArray

LiveblocksAvatars

API Reference

PropTypeDefault

LiveblocksAvatar

API Reference

PropTypeDefault
connectionId requirednumber
info requiredUserMeta['info']

CollaborativeEditor

API Reference

PropTypeDefault

RichTextEditor

API Reference

PropTypeDefault
yText Y.Text
provider LiveblocksYjsProvider
isReadOnly booleanfalse
text string

NotesProvider

API Reference

PropTypeDefault
roomId requiredstring
loadingNode ReactReactNode

Toolbar

API Reference

PropTypeDefault
getQuill requiredsignature

ToolbarButton

API Reference

PropTypeDefault
selectionFormat requiredRecord
format requiredunion
value union

ConnectionStatusBadge

API Reference

PropTypeDefault
status requiredunion

Item

API Reference

PropTypeDefault
item requiredMenuItem

SelectWithComment

API Reference

PropTypeDefault
title string
value T
placeholder string
menuItems requiredArray
onSave signature
selectedValueRenderer signature

InputComment

API Reference

PropTypeDefault
isOpen requiredboolean
comment requiredstring
setComment requiredsignature
warningMessage union

Select

API Reference

PropTypeDefault
title string
value T
placeholder string
menuItems requiredArray
onValueChange signature

SourcesAvatarGroup

API Reference

PropTypeDefault
sources requiredArray

StatisticsRow

Documentation

API Reference

PropTypeDefault
items requiredArray

FilterBar

API Reference

PropTypeDefault
filters requiredArray
showCheckboxFilter boolean
checkboxFilterLabel string
showSearch requiredboolean
narrow literal

CheckboxFilter

API Reference

PropTypeDefault
label string

FilterProvider

API Reference

PropTypeDefault
children requiredReactReactNode
checkboxFilterState boolean
setCheckboxFilterState signature

FilterDropdown

API Reference

PropTypeDefault
selectedOptions Array[]
onClick signature() => {}

SearchFilter

API Reference

PropTypeDefault

ShowFilterTagsToggler

API Reference

PropTypeDefault

FilterTag

API Reference

PropTypeDefault
filterKey requiredReactKey
filterValue requiredstring
valueRender valueRender

FilterTags

API Reference

PropTypeDefault

InternalTable

API Reference

PropTypeDefault
groupByKey requiredintersection
tableColumns requiredArray
nestedTableColumns requiredArray
dataSource requiredArray
nestedTableAntDProps Omit
toggleGroupModeLabel string
tableViews TableViews
tableHeaderActions ReactNode

GroupedTable

API Reference

PropTypeDefault
groupByKey requiredintersection
tableColumns requiredArray
nestedTableColumns requiredArray
dataSource requiredArray
nestedTableAntDProps Omit
toggleGroupModeLabel string
tableViews TableViews
tableHeaderActions ReactNode

NestedTable

API Reference

PropTypeDefault
columns requiredArray
dataSource requiredArray

InternalTable

API Reference

PropTypeDefault
columns requiredArray
showFilterBar booleantrue
showBorder booleantrue
stickyFilterBar booleanfalse
cellAlignTextTop booleanfalse
narrowFilterBar literal
checkboxFilterTitle string
tableViews TableViews
tableName string
dataSource []
pagination false

Table

API Reference

PropTypeDefault
columns requiredArray
showFilterBar boolean
showBorder boolean
stickyFilterBar boolean
cellAlignTextTop boolean
narrowFilterBar literal
checkboxFilterTitle string
tableViews TableViews
tableName string

ViewBar

API Reference

PropTypeDefault
views requiredArray
selectedViewUrlKey requiredUrlParam
onViewChange signature

ViewTab

API Reference

PropTypeDefault
view requiredstring
total requirednumber
isSelected requiredboolean
onClick requiredsignature

HorizontalTabs

API Reference

PropTypeDefault
disabled boolean
isLoading booleanfalse
urlParamKey UrlParam
actionItem ReactNode
variant 'default'

VerticalTabs

API Reference

PropTypeDefault

TextOverflow

API Reference

PropTypeDefault
hideToggle boolean
hideTooltip boolean

TextWithIcon

API Reference

PropTypeDefault
text requiredunion
icon ReactReactNode
iconPosition union'start'

AddComment

API Reference

PropTypeDefault
controlId string
findingId string

ChangeCard

API Reference

PropTypeDefault
statement requiredstring
prevBadge requiredReactReactNode
newBadge requiredReactReactNode
comment Comment

CommentCard

API Reference

PropTypeDefault
comment requiredComment

DateHeader

API Reference

PropTypeDefault
date requiredDate

Alert

API Reference

PropTypeDefault

AlertTitle

API Reference

PropTypeDefault

AlertDescription

API Reference

PropTypeDefault

Badge

API Reference

PropTypeDefault

Button

API Reference

PropTypeDefault
asChild false

Calendar

API Reference

PropTypeDefault
showOutsideDays true

Card

API Reference

PropTypeDefault

CardHeader

API Reference

PropTypeDefault

CardTitle

API Reference

PropTypeDefault

CardDescription

API Reference

PropTypeDefault

CardContent

API Reference

PropTypeDefault

CardFooter

API Reference

PropTypeDefault

Chart

API Reference

PropTypeDefault

ChartStyle

API Reference

PropTypeDefault
id requiredstring
config requiredsignature

ChartTooltip

API Reference

PropTypeDefault
indicator 'dot'
hideLabel false
hideIndicator false

ChartLegend

API Reference

PropTypeDefault
hideIcon false
verticalAlign 'bottom'

CommandDialog

API Reference

PropTypeDefault

CommandShortcut

API Reference

PropTypeDefault

DialogHeader

API Reference

PropTypeDefault

DialogFooter

API Reference

PropTypeDefault

Input

API Reference

PropTypeDefault

Skeleton

API Reference

PropTypeDefault

Table

API Reference

PropTypeDefault

TableHeader

API Reference

PropTypeDefault

TableBody

API Reference

PropTypeDefault

TableFooter

API Reference

PropTypeDefault

TableRow

API Reference

PropTypeDefault

TableHead

API Reference

PropTypeDefault

TableCell

API Reference

PropTypeDefault

TableCaption

API Reference

PropTypeDefault

Textarea

API Reference

PropTypeDefault

Toaster

API Reference

PropTypeDefault

Tooltip

API Reference

PropTypeDefault
trigger requiredReactReactNode
tooltipDisabled boolean
triggerClassName string

Upload

API Reference

PropTypeDefault

UserAvatar

API Reference

PropTypeDefault
userId requiredstring
showEmail boolean

UserProfileButton

API Reference

PropTypeDefault

VariancePercentage

Documentation

Use variance percentage with arrow icon

Use variance percentage with plusMinus icon

Use variance percentage with badge variant

Description

`VariancePercentage` can be used to display a percentage change. It shows the percentage change along with an icon in accordance with the percentage change. it colored in accordance with the sentiment.

API Reference

PropTypeDefault
value requirednumber
variant union'naked'
iconType union'arrow'
size union'medium'
growthSentiment SentimentSentiment.POSITIVE

SentimentIcon

Documentation

Use variance percentage with arrow icon

Use variance percentage with plusMinus icon

Use variance percentage with badge variant

API Reference

PropTypeDefault
direction requiredunion
size 'medium'