jporter.io

Components library

Components library

A collection of components I use across the products I build. Constructed using Shadcn primitives.

Button

Icon

xs

sm

md

lg

xl

2xl

3xl

4xl

5xl

6xl

color

icon button

Input

Labeled

Editable

Labeled
Default editable

Textarea

Labeled

One time password input

Toast

Select

Labeled

Combobox

Labeled

Multi-select

Slider

Labeled

Date Picker

Labeled

Time Picker

Labeled

Date Time Picker

Date label
Time label

Date Range Picker

Start label
End label

Date Time Range Picker

Start date
End end
From
To

Menu bar

Nav bar

Tabs

We offer standard (5-7 days), express (2-3 days), and overnight shipping. Free shipping on international orders.
We offer standard (5-7 days), express (2-3 days), and overnight shipping. Free shipping on international orders.

Accordion

Dropdown Menu

Hover card

Hover card trigger

Popover

Card

Basic

Header

Content

Typography

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Paragraph text

This is someinline code text

Link text

Checkbox

Radio button

Switch

Toggle

Tooltip

This is a tooltip

Skeleton

Progress bar

Modals

Sheets

Spinner

xs

sm

md

lg

xl

2xl

color

With label

Stat

Revenue
This is a description
$
232k
/mo
10%
With string value
Alert

Charts

Bar chart

Options
xAxis: true
yAxis: true
yAxisMin: 'auto'
yAxisMax: 'auto'
grid: true
tooltips: true
legend: true
stacked: false
dataLabels: false
legendPosition: 'bottom'

Line chart

Options
xAxis: true
yAxis: true
yAxisMin: 'auto'
yAxisMax: 'auto'
grid: true
tooltips: true
legend: true
dataPoints: true
dataLabels: false
legendPosition: 'bottom'

Pie chart

Options
tooltips: true
legend: true
dataLabels: false
innerRadius: 0
legendPosition: 'bottom'

Pie chart (donut)

Scatter chart

Options
xAxis: true
yAxis: true
xAxisMin: 'auto'
xAxisMax: 'auto'
yAxisMin: 'auto'
yAxisMax: 'auto'
grid: true
tooltips: true
legend: true
dataLabels: false
legendPosition: 'bottom'

Scatter chart (bubble)

Data grid

Status
Email
Amount
Description
Date
Category
1
pending
m@example.com100Initial deposit for project setup2024-01-15Deposits
2
processing
example@gmail.com125Monthly subscription fee2024-01-20Subscriptions
3
pending
m@example.com100Service maintenance charge2024-01-22Services
4
processing
example@gmail.com125Quarterly review payment2024-01-25Reviews
5
pending
m@example.com100Hardware replacement costs2024-02-01Hardware
6
processing
example@gmail.com125Software license renewal2024-02-05Software
7
pending
m@example.com100Consulting fee for Q12024-02-10Consulting
8
processing
example@gmail.com125Training workshop expenses2024-02-15Training
9
pending
m@example.com100Marketing campaign budget2024-02-20Marketing
10
processing
example@gmail.com125Office supplies restock2024-02-25Supplies

10 rows