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.
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.
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.
Paper patterns
FreeQuiet CSS-only surface patterns for sections, cards and preview stages: diagonal hatch in both directions, cross-hatch, a graph grid with minor and major lines, ruled notebook lines with an optional margin rule, an isometric triangle grid, fine grain noise and a blueprint grid on a tinted base. Lines are drawn from your border, muted and primary colours, so they follow the theme in light and dark. Patterns take a scale in pixels and an opacity, can line up with the element's edge, content box or centre, and can fade into the page from the centre, top, bottom or edges. Use the wrapper component, or the style helper to put a pattern on any element. The pattern layer is decorative and hidden from assistive technology, and nothing moves.
A hero for developer tools: a large headline beside one sentence, two actions and a copy-to-clipboard install command, above a wide terminal that types a command and prints its output line by line, then offers a replay. Command, output lines, tones and timings are props. With reduced motion the terminal shows the finished session at once, and screen readers get the full transcript instead of the animation.
Cart drawer
FreeA slide-over shopping cart. It lists line items with a thumbnail, variant, line total, quantity stepper (respecting a maximum) and remove button, shows progress toward a free-shipping threshold, and ends with the subtotal, shipping and a checkout button. As a modal dialog it traps focus, closes on Escape or a backdrop click, locks page scroll, restores focus on close and announces quantity changes. Includes an empty state; currency and locale are configurable.
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 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.
Copy button
FreeA copy-to-clipboard button that swaps to a check for two seconds, plus a one-line CopySnippet for commands and IDs. Uses the Clipboard API with an execCommand fallback; when both are blocked (for example in a sandboxed iframe) it selects the text and asks for Ctrl+C or ⌘C instead of failing silently, and counts the user's own copy as success. Status is announced politely.
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.
Three plans side by side with a monthly or yearly switch built from native radio buttons. The yearly option shows the discount it works out from your prices, each card shows the yearly total, and the highlighted plan is set in your primary colour with its own badge. Feature lists with check icons, an optional intro line, Intl currency formatting, and a period change callback.
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.
A multi-column site footer: logo and one line about the product, a newsletter form with client-side validation and a confirmation, icon links with accessible names, four link groups in a labelled navigation, and a bottom bar with copyright, legal links and a status indicator. The brand name returns across the full width at the bottom. Link groups fold from four columns to two on phones; everything is passed as props.
Timeline
FreeA vertical timeline built from Timeline and TimelineItem. Items take a title, icon, timestamp (a real time element), description and any rich content such as notes, code or metrics. Six status colours cover success, warning, danger, info, pending and neutral, with status text for screen readers. A compact density uses dots for order tracking, and items can pulse as the current step or draw a dashed line toward upcoming ones.
Checkout summary
FreeA checkout section with a payment method chooser beside an order summary. The summary lists line items with quantities, takes a discount code through your validator (sync or async, with checking, applied and invalid states), and works out subtotal, discount, shipping, tax after discount and total. Payment options are radio cards that can reveal details when selected, and the pay button shows processing and order-placed states. Stacks to one column on small screens.
Ink marks
FreeAn inline wrapper that draws hand-made pen marks around words: a wavy underline, a slanted highlighter block, a loose circle that overshoots, a box, a strike, side brackets or a curved arrow pointing in from above. Each mark is an SVG sized to the words with ResizeObserver and shaped by a small seeded jitter, so it looks drawn by hand yet stays the same on every render. Marks draw in when they scroll into view, a roughness setting goes from neat to scribbly, highlight, underline and strike follow wrapped lines, and InkMarks.Group draws its marks one after another like someone annotating live. Meaning is kept in mark, s or em elements, and reduced motion shows the marks already drawn.
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.
