Skip to main content
Brand and assets
Build
Monitor and contribute
/
Component library
  • All components
  • Buttons & actions
  • Forms & inputs
  • Layout & containers
  • Overlays
  • Feedback & status
  • Data display
  • Typography
  • Accessibility
  • Contrib
    • AccordionNext
    • ClickableCard
    • CollapsibleSection
    • HighlightBox
    • LineBarChart
    • ListItemNext
    • Markdown
    • MultiStepNavigation
    • Number
    • PhoneNumberInput
    • PromoCard
    • RatingWithStars
    • ScreenNext
    • SegmentedControl
    • SortableColumnHeader
    • TabListNext
    • TableHeader
    • Tip
    • UniversalEmoji
  • Deprecated
  • Contrib
  • ListItemNext

One tappable row in a list, with an icon, a label and a description. The whole row is the control, so it cannot hold its own buttons.

Health
Component health
Source
View on Github
Playground
No Example
Accessibility
unknown
Platform
Universal
Contrib Component
ListItemNext is a community contributed component. We encourage its usage but it might not give the same level of robustness (accessibility, tests, ...) than core Murray components.
  • Overview
  • Props

ListItemNext

The ListItemNext component is available for universal (web and mobile) applications.

Overview​

See the component source code for API details and examples.

tip
This component is universal, its usage is the same on web and mobile.

ListItemNext props

NameTypeDefault ValueDescriptionUsage count
addOnAddonPropsundefinedaddOn to be displayed on the left side, accept icon, breakdown_color, blobby or a custom node
descriptionReactNode
disabledbooleanundefined
hideCaretbooleanundefinedWhen `onPress` or `href` is filled, caret is shown by default. You can disable it with this prop.
hrefstringundefinedWeb only. In-app route rendered as a react-router link, for items that navigate to another page. Gets `aria-current="page"` when it matches the current location exactly.
labelstringundefined
onPress(() => void)undefined
stackNumbernumberundefineddisplay a stack number on the left near the addOn
sxPositionPropsundefined
variant"default""action"undefineddefault

Style API​

Use sx for one-off adjustments. It accepts these style keys:

alignSelfanimationaspectRatiobottomcursordisplayendflexflexBasisflexGrowflexShrinkheightinsetinsetInlineinsetInlineEndinsetInlineStartleftmarginmarginBottommarginHorizontalmarginInlinemarginInlineEndmarginInlineStartmarginLeftmarginRightmarginTopmarginVerticalmatrixmaxHeightmaxWidthminHeightminWidthopacityperspectivepositionrightrotaterotateXrotateYrotateZscalescaleXscaleYskewXskewYstarttoptransformtransformOriginwidthxyzIndex

Each can be overridden per breakpoint with:

$lg$ltLg$ltMd$ltSm$ltVs$ltXl$ltXxl$md$sm$vs$xl$xs$xxl
Edit this page
Previous
LineBarChart
Next
Markdown
  • Overview