Projection UI

Component reference

Projection UI 0.1.5 archive

You are reading version 0.1.5. This archive retains its original API and installation requirements. Open the current alpha documentation.

Read this page as Markdown

Layout

ComponentDescription
ThemeProviderWrites CSS vars from your theme. Wrap your app root.
CardSurface container. Props: padding, border, as, className

Actions

ComponentDescription
ButtonVariants: primary secondary ghost danger. Sizes: sm md lg.
ButtonGroupSegmented control / tab bar. Mutually exclusive options with optional deselect.

Forms

ComponentDescription
InputText input with label, error, hint, prefix/suffix slots
SelectStyled native select with chevron
TextareaResizable textarea with label, error, hint
ToggleOn/off switch. Sizes: sm md
SliderRange input with fill track, value display, and min/max labels

Feedback

ComponentDescription
ModalAccessible dialog. Closes on Escape + backdrop click.
ToastContainerNotification portal. Use useToastStore().push(message, variant) to trigger.
SkeletonShimmer placeholder. Configurable width, height, borderRadius.

Data

ComponentDescription
DataTableSortable columns, loading skeletons, empty state slot, row click handler

Drag and drop

ComponentDescription
SortableListWraps @dnd-kit DndContext + SortableContext
SortableItemRender-prop item exposing dragHandleProps and isDragging

Charts (Recharts wrappers)

ComponentDescription
AreaChartGradient fill area chart
BarChartGrouped or stacked bar chart
LineChartMulti-series line chart
DonutChartPie/donut with optional center label slot

All charts accept data, series (array of { key, color, label }), xKey, height, title, xFormatter, yFormatter.

Source reference

Read the original exports and theme types.

Font licenses

On this page