Snap
Design
Heading
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
0123456789
Paragraph & Quote
Body copy should remain calm and readable across documentation, product interfaces, and longer explanations. A second sentence demonstrates the rhythm of a typical paragraph.
Useful details should support the interaction, never obscure it.
SnapDesign principle
Inline Elements
Link, strong, emphasis, highlight, abbreviation, inlineCode(), ⌘ K, sample output, deleted, inserted, H2O, x2, and small print.
Code Block
import { Engine } from "@snap-engine/core";
const host = document.querySelector<HTMLElement>("#demo");
const engine = new Engine();
if (host) engine.element = host;Tabbed Code
import { Engine } from "@snap-engine/core";
const host = document.querySelector<HTMLElement>("#demo");
const engine = new Engine();
if (host) engine.element = host;<script lang="ts">
import { Engine } from "@snap-engine/core";
const engine = new Engine();
</script>
<div bind:this={engine.element}></div>import { useEffect, useRef } from "react";
import { Engine } from "@snap-engine/core";
export function EngineSurface() {
const host = useRef<HTMLDivElement>(null);
useEffect(() => {
const engine = new Engine();
if (host.current) engine.element = host.current;
return () => engine.destroy();
}, []);
return <div ref={host} />;
}UI
Elements
Buttons
Dial
Sliders
Selection
On
Progress
Dropdowns
Date Selectors
Text Inputs
Chips
Ready Active Needs read Draft Disabled READ_1
Layout
Simple
card
Simple
slot
Table
| Asset | Status | Updated |
|---|---|---|
| SnapSort | Ready | Today |
| SnapLine | Draft | This week |
| SnapZap | Queued | Later |
Material editor Advanced surface controls
Interactive configuration
Material
Live Preview
Lighting
Edge
Agent configuration
{
"lightAngle": 325,
"ambientBrightness": 0,
"shadowDistance": 6.5,
"shadowBlur": 6.25,
"shadowStrength": 1,
"specularIntensity": 0.85,
"specularPower": 10,
"rimWidth": 1,
"rimBlur": 0.1,
"creviceBrightness": 0.41,
"shadedRim": true,
"creviceOutline": true
}