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/Path

Path

An SVG path element.

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

Import

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

Usage

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

<Svg viewBox="0 0 24 24" size={32}>
  <Path d="M3 10.8 12 3l9 7.8V21h-6v-7H9v7H3z" />
</Svg>

Props

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

Inherited from PathProps 1 props
PropTypeDefault
d required string—
← PreviousSvg Next →Circle
Tarve · Apache-2.0 Docs · GitHub · npm · Changelog