tarve
Pipeline Features Renderers Components Docs
Docs GitHub
/

Guides

Overview Getting started How rendering works Common props

Window & layout

WindowTitleBarViewRowColumnScrollScrollAreaPortalPressableResizableAspectRatioDirectionSeparatorAnimatePresence

Text & media

TextTypographyLinkLabelKbdImageAvatarIconSvgPathCircleEllipseLinePolylinePolygonSvgRect

Inputs & forms

InputTextAreaInputGroupInputOTPFieldCheckboxSwitchRadioGroupSelectNativeSelectComboboxSliderToggleToggleGroupCalendarDatePicker

Actions & feedback

ButtonButtonGroupBadgeProgressSpinnerSkeletonAlertToastToasterEmpty

Overlays

ModalDialogAlertDialogSheetDrawerPopoverTooltipHoverCardDropdownMenuContextMenuCommandCommandPalette

Navigation

TabsAccordionCollapsibleBreadcrumbPaginationNavigationMenuMenubarSidebarCarousel

Data display

CardItemListVirtualListTableDataTableDataGridTreeViewChart

Rich content

MarkdownCodeDiff

App & chat

MessageBubbleMessageScrollerMarkerAttachmentQuestionnaire
Docs/Text & media/Polyline

Polyline

An SVG polyline element.

packages/core/src/components/svg.ts:49 ↗

Import

import { Polyline } from "@tarve/core";

Usage

Polyline.tsx
import { Polyline, Svg } from "@tarve/core";

<Svg viewBox="0 0 24 24" size={32}>
  <Polyline points="3 17 9 11 13 15 21 7" />
</Svg>

Props

Polyline has no props of its own beyond the inherited and common props below.

Inherited from PolylineProps 1 props
PropTypeDefault
points required string—
← PreviousLine Next →Polygon
Tarve · Apache-2.0 Docs · GitHub · npm · Changelog