Platform
Resources
Pricing
Sign in
Contact us
Tom Larkworthy
Tech Lead at Taktile. Formerly Firebase, Google
Workspace
Fork
Public
ui
By
Tom Larkworthy
Edited
Nov 9
Importers
1 star
ui
Composing viewofs with the view literal
Scaling User Interface Development
localStorageView: Non-invasive local persistance
DOM view
urlQueryFieldView: Non-invasive URL field persistence
Design Guidelines and Linter for Reusable UI Components
Squeezing more Juice out of UI libraries
Reversible attachment
Globally Synchronized Views
Tabbed Pane View
Multiplayer Cursors
👋 Hello, javascript-state-machine ⨯ Plot
Vertical Sliders
Draggable LocalFile fileInput
Data Editor
UI Animation
View Composition Examples
Composing views across time: viewroutine
Hypertext literal reconciliation with nanomorph
Responsive grid
imgChooser
Draggable Sticky view
Howto import a React component (Chonky Example)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof
parent
=
view
`<div>
${
[
"child"
,
reversibleAttach
(
attach
,
viewof
child
)
]
}
</div>`
Insert cell
Insert cell
child
Insert cell
parent
Insert cell
Insert cell
Inputs
.
button
(
"backdrive parent"
,
{
reduce
:
(
)
=>
{
viewof
parent
.
value
.
child
=
Math
.
random
(
)
;
viewof
parent
.
child
.
dispatchEvent
(
new
Event
(
"input"
,
{
bubbles
:
true
}
)
)
;
}
}
)
Insert cell
Insert cell
Insert cell
viewof
grand_parent
=
Inputs
.
form
(
{
parent
:
reversibleAttach
(
attach_gp
,
viewof
parent
)
}
)
Insert cell
grand_parent
Insert cell
Inputs
.
button
(
"backdrive grand_parent"
,
{
reduce
:
(
)
=>
{
viewof
grand_parent
.
value
.
parent
.
child
=
Math
.
random
(
)
;
viewof
grand_parent
.
dispatchEvent
(
new
Event
(
"input"
,
{
bubbles
:
true
}
)
)
;
}
}
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
//import { footer } from "@tomlarkworthy/footer"
Insert cell
footer
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
attach
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
child
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
parent
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
attach_gp
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
grand_parent
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
parents
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
reversibleAttach
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML