A dependency-free SVG chart for one or more series, drawn as smooth areas or lines in the theme's chart colours. It resizes with its container, picks clean y-axis ticks, thins x labels to fit, and shows a crosshair with one tooltip for every series. Legend items toggle series, arrow keys step through points with screen-reader announcements, and a switch shows the same data as a table.
Components
Components
Ring chart
FreeA dependency-free SVG donut that can also be a half-ring gauge, drawn in the theme's chart colours with small gaps between slices. It sweeps in on mount, and the centre shows the total or the hovered slice's value and label. The legend lists each slice's value and share, and clicking an item hides that slice while the rest smoothly re-share the ring. A hovered slice moves outward while the others dim. The gauge can take a target, drawn as a tick on the ring with the distance to it in the centre. Legend buttons are the keyboard path, a hidden table carries the data for screen readers, and motion stops when reduced motion is on.
A centred hero over slow curtains of colour mixed from your chart tokens (var(--chart-1) to var(--chart-5)), so the field changes with the theme. Headline, one sentence, two actions and a short note, then a cropped forecast card with an SVG line chart (actuals, dashed plan and its range) rising into the next section. The ribbons only drift when motion is allowed and sit still otherwise.
Drop-off funnel
FreeA conversion funnel of horizontal stages whose widths shrink with their value, joined by curved bridges so it reads as one flowing shape filled with a gradient from the theme's chart colours. Each stage shows its label, count and share of the first stage, and a chip between stages shows the loss. The largest drop is found automatically and marked in the destructive tone. An optional earlier period draws as a dashed ghost shape with up or down deltas per stage. Stages grow in when scrolled into view, it can lay out horizontally on wide containers, labels move above the bars on phones, and every number is available as text for screen readers.
A complete store analytics page in self-contained files: an app shell with sidebar, search and a mobile drawer; a date-range switch that rescopes the page; four KPIs with deltas and sparklines; a revenue chart comparing this period with the previous one, with crosshair tooltip, keyboard reading and a table view; sales by channel as a segmented bar and ranked list; a filterable, sortable, paginated orders table; and an activity list. Fictional data sits in data.ts, ready to swap for your API.
Shimmer button
FreeA call-to-action button with a light that travels around its border and a sheen that sweeps across the face on hover or keyboard focus. Light colours default to the theme's chart colours and can be overridden, along with the speed and three sizes. All movement respects prefers-reduced-motion.
A container that draws a dot or line grid behind its children, with a radial, top or no fade mask and an optional spotlight that brightens the grid around the pointer. The pattern is pure CSS from your foreground and chart tokens, the pointer is tracked through CSS variables so children never re-render, and it works for heroes, empty states and drop zones.
A container that puts a slow, drifting field of blurred colour lights behind its children. Props set intensity (0 to 1), cycle speed in seconds, blur, the colours (your chart tokens by default) and the fade (edges, bottom or none). Pure CSS, no canvas, no client JavaScript; the drift only runs when the visitor allows motion.
Avatar stack
FreeOverlapping initials avatars for showing who is in a room, a project or a document. Four sizes, presence dots (online, away, busy, offline), name tips on hover and tints taken from the theme's chart colours. Past the limit, a "+N" button opens a list of everyone with their presence and role; it closes with Escape or an outside click. A standalone Avatar is exported too.
Activity feed
FreeA list of team events grouped under sticky day headings (Today, Yesterday, then dates). Each event shows an initials avatar tinted from the theme's chart colours, an icon for its type, the actor, verb and target, optional detail such as a quoted comment, and a relative time that updates every minute. A load-more button shows a loading state while your async loader runs.
Testimonial wall
FreeA masonry wall of customer quotes in CSS columns (one, two or three by width), each a figure with a blockquote, an initials avatar tinted from your chart tokens, a name and a role at the company. One quote can be featured larger on a primary-colour card. Long walls start collapsed under a soft fade with a Show all button that reports its state to assistive technology.
Profile card
FreeA person card with a cover gradient drawn from one of the theme's chart colours, an initials avatar, name with optional verified mark, handle, role, location and bio. It shows three stats, a follow button that toggles optimistically (and rolls back if your handler rejects) while keeping the follower count in step, an optional message button, and icon links with accessible names.
A features section in a bento grid of six tiles in three sizes (wide, tall, small), each with a heading, one sentence and a small interface illustration built in HTML and SVG: a document with live cursors, a version history, an offline queue, page permissions, a search palette with highlighted matches and a live chart. Tiles are data, so you can pass your own illustrations; the grid reflows to two columns and then one.
File dropzone
FreeA drag-and-drop file area with a keyboard-reachable browse button backed by a native file input. Validates type (accept rules also apply to dropped files), size and count, explains rejected files, skips duplicates, and lists chosen files with an icon, size and a remove button that keeps keyboard focus in place. Changes are announced to screen readers. It only collects files; uploading is left to you.
A night-sky backdrop for heroes and cards. Three depths of twinkling, slowly drifting stars are drawn on one sharp, resolution-aware canvas, thin glowing streaks with tapered tails shoot across at random intervals, and a faint haze from your chart colours sits on top. Set the streak angle and colour, use it as a dark night sky or a light paper sky with ink specks and pencil streaks, or let it follow the theme. Clicking empty sky fires a streak from the pointer, and an optional constellation mode joins nearby stars to the pointer with hairlines. It pauses when off screen or in a hidden tab, caps at 60 frames a second, stays out of the way of content and clicks layered on top, and shows a still star field when reduced motion is on.
API snippet
FreeAn interactive code sample panel for API docs. Language tabs (cURL, JavaScript, Python, Go or your own) with a sliding underline sit above the code, which crossfades when you switch. A small parameter form beside the code, or behind a 'Parameters' disclosure in narrow containers, edits values that are templated into every language live; changed lines get a left accent bar and the changed tokens flash briefly, with a screen-reader note that the line was updated. A built-in tokenizer colours strings, numbers, keywords, keys and comments from the chart tokens, so it follows the theme without a highlighting dependency. An optional Response tab shows a templated sample body with a status pill. Copy morphs its icon into a check and announces 'Copied', the chosen language can be remembered in localStorage, and the tabs are a proper keyboard tablist.
Fling gallery
FreeA horizontal strip of rounded image frames you can grab and throw. Drag, horizontal scroll or the arrow keys move it, and a throw keeps its speed then slows with smooth friction. Loop mode repeats the set seamlessly and drifts at an idle pace, picking the drift back up after a throw; free mode has springy ends. Images sit wider than their frames and slide against the motion for depth, frames lean slightly in the direction of a fast throw, and a caption fades in under the centre frame once the strip comes to rest. Items without images get a generated gradient from your chart colours. It is a labelled carousel with focusable slides, a drag never triggers a click, hover and focus pause the drift, a pause button appears when it moves on its own, and reduced motion steps item by item without drift, inertia or parallax.
