C
cnippet-ui
/
ui
Files
Code
Info
accordion
alert
alert-dialog
animated-number
Smooth spring-based number interpolation
annotated-chart
Time series with event markers, target lines and shaded periods
area-chart
Data-driven area chart: default, stacked or percent, with gradient, solid or no fill
autocomplete
avatar
badge
banner
bar-chart
Data-driven bar chart: columns or horizontal bars, grouped, stacked or percent, with value labels
bar-list
Ranked horizontal bars with a name and value per row; rows can be links or buttons
box-plot
Quartiles and range per group, from raw values or precomputed stats
breadcrumb
breathing-text
Characters scale and opacity pulse in a wave pattern using variable fonts
brush-chart
Area or line chart with a brush underneath to zoom and pan a long series
bullet-chart
Compact bar comparing a value with a target over qualitative ranges
button
calendar
calendar-heatmap
Days laid out in week columns and shaded by value, like a contribution graph
candlestick-chart
Open, high, low and close candles with optional volume bars
canvas-text
Text filled with flowing colored lines drawn on a canvas
card
carousel
category-bar
One bar split into coloured ranges, with boundary labels and an optional marker
chart
chart-card
Card frame for a chart with title, headline value, delta badge, actions and footer
chart-empty
Empty state sized for a chart, with icon, message and action
chart-skeleton
Loading placeholder shaped like a bar, line, area or donut chart
chart-tooltip-presets
Tooltip layouts for the chart primitive: totals, sorted list and previous-period comparison
checkbox
checkbox-group
cohort-retention
Triangle table of retention by cohort and period, with shaded % cells
collapsible
color-picker
colorful-text
Characters animate in with randomized vibrant colors
combo-chart
Bars and lines on one plot, with an optional second y-axis for the lines
combobox
command
container-scroll
A card tilts back flat and settles as it scrolls into view
context-menu
counting-number
Animates from a start value to a target number
data-table
delta-bar
Bar growing left or right from the centre to show a +/− change
dialog
donut-chart
Part-to-whole ring with a centre value, slice labels and a bottom or side legend
drawer
drilldown-chart
Bar chart that drills into a bar's breakdown on click or Enter, with breadcrumbs back
empty
encrypted-text
Characters decrypt from gibberish in a military terminal style
field
fieldset
file-upload
flip-words
Words flip in 3D on a timer along X or Y axis rotation
fonts
form
frame
funnel-chart
Steps of a process with the share reaching each step and the drop-off between them
gauge-chart
Half-circle gauge with coloured threshold bands, a needle or a value arc
group
heatmap
Grid of cells shaded by value, with keyboard navigation and a tooltip per cell
hero-parallax
Rows of product cards slide sideways in opposite directions as the hero scrolls
histogram
Distribution of raw values in equal-width buckets, drawn as touching bars
horizontal-scroll
Pins a section and turns vertical scrolling into horizontal movement
input
input-group
interactive-legend
Chart legend whose items toggle series on and off and highlight them on hover
item
kbd
label
letter-3d-swap
Letters rotate in 3D space on hover revealing a second face
letter-swap-hover
Each letter swaps position vertically on hover
line-chart
Data-driven line chart with dots, dashed forecast series and gap handling
macbook-scroll
A laptop lid opens on scroll to reveal an image or custom screen content
menu
meter
morphing-text
Smooth blur-based morphing between words
navigation-menu
number-field
otp-field
pagination
parallax-floating
Elements float at different speeds based on cursor position for a parallax depth effect
pie-chart
Part-to-whole pie with slice labels; a donut chart with no hole
polar-area-chart
Rose chart: equal-angle slices whose length shows the value
popover
preview-card
progress
progress-circle
Ring showing progress toward a maximum, with centre content
progressive-blur
Layered backdrop-blur overlay that progressively fades content at container edges
radar-chart
Multi-axis comparison with polygon or circle grid, filled or outlined
radial-chart
Concentric progress rings with a track and centre label
radio-group
random-letter-swap
Letters swap in random order on hover for a glitchy effect
range-area-chart
Shaded band between a low and high value, with an optional line inside
rating
realtime-chart
Streaming line chart with a sliding window, live values and a pause button
resizable
rolling-text
Text rolls in from top or bottom with 3D perspective
rotating-text
Single-slot word rotator with configurable transitions
sankey
Flows between named stages, with link widths proportional to value
scatter-chart
X/Y scatter plot with optional bubble size and colour groups
scramble-hover
Text scrambles on hover then resolves back to original
scroll-area
scroll-direction-header
Header that hides while scrolling one way and returns when scrolling back
scroll-image-reveal
An image is revealed with a clip-path wipe or circle as it scrolls into view
scroll-progress
A spring-animated progress bar that tracks page or container scroll position
scroll-reveal
Elements animate into view when they enter the viewport, with any Motion variant
scroll-snap-sections
Full-height sections that snap into place, with dot navigation and entrance animation
scroll-swap-text
Text content swaps and transforms tied to scroll position
scroll-velocity-text
Text marquee speed reacts to scroll velocity — faster scrolling spins it faster
select
separator
series-toggle-chart
Metric tabs with totals above a chart; each tab switches the series shown
sheet
sidebar
skeleton
slider
sliding-number
Digits slide up or down independently when value changes (odometer style)
sortable
spark-area
Tiny area trend with no axes, optionally coloured by trend
spark-bar
Tiny bars for daily volume or win/loss, coloured by sign
spark-line
Tiny line trend with an optional last-point dot, coloured by trend
spinner
spinning-text
Text arranged in a circle rotating continuously
splitting-text
Text splits into characters or words with individual animation control
stacking-cards
Cards stack and scale on scroll — each pins to the top while the next slides underneath
stepper
sticky-footer
Footer that stays put underneath the page and is uncovered at the end of the scroll
sticky-scroll-reveal
Text steps scroll past a sticky panel that swaps to each step's content
sunburst-chart
Two-level nested rings: category in the middle, breakdown outside
switch
synced-charts
Stacked chart panels on one x-axis that share a cursor and tooltip
table
tabs
tag-input
text-along-path
Text follows an SVG path, optionally animated
text-cursor-proximity
Characters scale and transform based on cursor distance
text-flipping-board
Split-flap board that flips each character through a charset to the new text
text-generate-effect
Words fade in sequentially as if being AI-generated
text-gradient
Animated gradient colors flowing through text
text-highlight
Background highlight animates behind text on scroll or hover
text-loop
Cycles through an array of strings with smooth exit and enter transitions
text-morph
Smooth character-level morphing between two strings using shared layout
text-reveal
Characters or words animate in with fade, slide-up, or blur and stagger
text-roll
Words roll in and out vertically like a slot machine
text-rotate
Rotating text with configurable enter/exit animations and stagger
text-scramble
Characters scramble through random glyphs before resolving to the final text
text-shimmer
Gradient shine sweeps across text continuously
text-shimmer-wave
Wave-like shimmer ripples across text characters
textarea
time-picker
time-range-chart
Area or bar chart with a 7d / 30d / 90d range toggle and totals for the range
timeline
toast
toggle
toggle-group
toolbar
tooltip
tracker
Row of status blocks with tooltips, e.g. daily uptime or build history
treemap
Nested rectangles sized by value, coloured by top-level group
typewriter
Characters appear one by one with an optional blinking cursor
ui
variable-font-cursor-proximity
Font axes respond to cursor distance from each character
variable-font-hover
Variable font weight and width changes per letter on hover
vertical-cut-reveal
Text reveals with a vertical clip-path wipe per character, word, or line
waterfall-chart
Running total built from increases, decreases and subtotal bars
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
accordion
alert
alert-dialog
animated-number
Smooth spring-based number interpolation
annotated-chart
Time series with event markers, target lines and shaded periods
area-chart
Data-driven area chart: default, stacked or percent, with gradient, solid or no fill
autocomplete
avatar
badge
banner
bar-chart
Data-driven bar chart: columns or horizontal bars, grouped, stacked or percent, with value labels
bar-list
Ranked horizontal bars with a name and value per row; rows can be links or buttons
box-plot
Quartiles and range per group, from raw values or precomputed stats
breadcrumb
breathing-text
Characters scale and opacity pulse in a wave pattern using variable fonts
brush-chart
Area or line chart with a brush underneath to zoom and pan a long series
bullet-chart
Compact bar comparing a value with a target over qualitative ranges
button
calendar
calendar-heatmap
Days laid out in week columns and shaded by value, like a contribution graph
candlestick-chart
Open, high, low and close candles with optional volume bars
canvas-text
Text filled with flowing colored lines drawn on a canvas
card
carousel
category-bar
One bar split into coloured ranges, with boundary labels and an optional marker
chart
chart-card
Card frame for a chart with title, headline value, delta badge, actions and footer
chart-empty
Empty state sized for a chart, with icon, message and action
chart-skeleton
Loading placeholder shaped like a bar, line, area or donut chart
chart-tooltip-presets
Tooltip layouts for the chart primitive: totals, sorted list and previous-period comparison
checkbox
checkbox-group
cohort-retention
Triangle table of retention by cohort and period, with shaded % cells
collapsible
color-picker
colorful-text
Characters animate in with randomized vibrant colors
combo-chart
Bars and lines on one plot, with an optional second y-axis for the lines
combobox
command
container-scroll
A card tilts back flat and settles as it scrolls into view
context-menu
counting-number
Animates from a start value to a target number
data-table
delta-bar
Bar growing left or right from the centre to show a +/− change
dialog
donut-chart
Part-to-whole ring with a centre value, slice labels and a bottom or side legend
drawer
drilldown-chart
Bar chart that drills into a bar's breakdown on click or Enter, with breadcrumbs back
empty
encrypted-text
Characters decrypt from gibberish in a military terminal style
field
fieldset
file-upload
flip-words
Words flip in 3D on a timer along X or Y axis rotation
fonts
form
frame
funnel-chart
Steps of a process with the share reaching each step and the drop-off between them
gauge-chart
Half-circle gauge with coloured threshold bands, a needle or a value arc
group
heatmap
Grid of cells shaded by value, with keyboard navigation and a tooltip per cell
hero-parallax
Rows of product cards slide sideways in opposite directions as the hero scrolls
histogram
Distribution of raw values in equal-width buckets, drawn as touching bars
horizontal-scroll
Pins a section and turns vertical scrolling into horizontal movement
input
input-group
interactive-legend
Chart legend whose items toggle series on and off and highlight them on hover
item
kbd
label
letter-3d-swap
Letters rotate in 3D space on hover revealing a second face
letter-swap-hover
Each letter swaps position vertically on hover
line-chart
Data-driven line chart with dots, dashed forecast series and gap handling
macbook-scroll
A laptop lid opens on scroll to reveal an image or custom screen content
menu
meter
morphing-text
Smooth blur-based morphing between words
navigation-menu
number-field
otp-field
pagination
parallax-floating
Elements float at different speeds based on cursor position for a parallax depth effect
pie-chart
Part-to-whole pie with slice labels; a donut chart with no hole
polar-area-chart
Rose chart: equal-angle slices whose length shows the value
popover
preview-card
progress
progress-circle
Ring showing progress toward a maximum, with centre content
progressive-blur
Layered backdrop-blur overlay that progressively fades content at container edges
radar-chart
Multi-axis comparison with polygon or circle grid, filled or outlined
radial-chart
Concentric progress rings with a track and centre label
radio-group
random-letter-swap
Letters swap in random order on hover for a glitchy effect
range-area-chart
Shaded band between a low and high value, with an optional line inside
rating
realtime-chart
Streaming line chart with a sliding window, live values and a pause button
resizable
rolling-text
Text rolls in from top or bottom with 3D perspective
rotating-text
Single-slot word rotator with configurable transitions
sankey
Flows between named stages, with link widths proportional to value
scatter-chart
X/Y scatter plot with optional bubble size and colour groups
scramble-hover
Text scrambles on hover then resolves back to original
scroll-area
scroll-direction-header
Header that hides while scrolling one way and returns when scrolling back
scroll-image-reveal
An image is revealed with a clip-path wipe or circle as it scrolls into view
scroll-progress
A spring-animated progress bar that tracks page or container scroll position
scroll-reveal
Elements animate into view when they enter the viewport, with any Motion variant
scroll-snap-sections
Full-height sections that snap into place, with dot navigation and entrance animation
scroll-swap-text
Text content swaps and transforms tied to scroll position
scroll-velocity-text
Text marquee speed reacts to scroll velocity — faster scrolling spins it faster
select
separator
series-toggle-chart
Metric tabs with totals above a chart; each tab switches the series shown
sheet
sidebar
skeleton
slider
sliding-number
Digits slide up or down independently when value changes (odometer style)
sortable
spark-area
Tiny area trend with no axes, optionally coloured by trend
spark-bar
Tiny bars for daily volume or win/loss, coloured by sign
spark-line
Tiny line trend with an optional last-point dot, coloured by trend
spinner
spinning-text
Text arranged in a circle rotating continuously
splitting-text
Text splits into characters or words with individual animation control
stacking-cards
Cards stack and scale on scroll — each pins to the top while the next slides underneath
stepper
sticky-footer
Footer that stays put underneath the page and is uncovered at the end of the scroll
sticky-scroll-reveal
Text steps scroll past a sticky panel that swaps to each step's content
sunburst-chart
Two-level nested rings: category in the middle, breakdown outside
switch
synced-charts
Stacked chart panels on one x-axis that share a cursor and tooltip
table
tabs
tag-input
text-along-path
Text follows an SVG path, optionally animated
text-cursor-proximity
Characters scale and transform based on cursor distance
text-flipping-board
Split-flap board that flips each character through a charset to the new text
text-generate-effect
Words fade in sequentially as if being AI-generated
text-gradient
Animated gradient colors flowing through text
text-highlight
Background highlight animates behind text on scroll or hover
text-loop
Cycles through an array of strings with smooth exit and enter transitions
text-morph
Smooth character-level morphing between two strings using shared layout
text-reveal
Characters or words animate in with fade, slide-up, or blur and stagger
text-roll
Words roll in and out vertically like a slot machine
text-rotate
Rotating text with configurable enter/exit animations and stagger
text-scramble
Characters scramble through random glyphs before resolving to the final text
text-shimmer
Gradient shine sweeps across text continuously
text-shimmer-wave
Wave-like shimmer ripples across text characters
textarea
time-picker
time-range-chart
Area or bar chart with a 7d / 30d / 90d range toggle and totals for the range
timeline
toast
toggle
toggle-group
toolbar
tooltip
tracker
Row of status blocks with tooltips, e.g. daily uptime or build history
treemap
Nested rectangles sized by value, coloured by top-level group
typewriter
Characters appear one by one with an optional blinking cursor
ui
variable-font-cursor-proximity
Font axes respond to cursor distance from each character
variable-font-hover
Variable font weight and width changes per letter on hover
vertical-cut-reveal
Text reveals with a vertical clip-path wipe per character, word, or line
waterfall-chart
Running total built from increases, decreases and subtotal bars
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information