Platform
Resources
Pricing
Sign in
Contact us
Tom Larkworthy
Tech Lead at Taktile. Formerly Firebase, Google
Workspace
Fork
Published
ui
By
Tom Larkworthy
Edited
May 30, 2021
4 stars
5
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
Insert cell
chonky
=
require
.
alias
(
{
react
:
React
,
// We are bringing these from @j-f1/react
"react-dom"
:
ReactDOM
}
)
(
await
FileAttachment
(
"chonky-amd@2.js"
)
.
url
(
)
)
Insert cell
chonky_icons
=
require
.
alias
(
{
react
:
React
// We are bringing these from @j-f1/react
}
)
(
await
FileAttachment
(
"chonky-icons-amd@1.js"
)
.
url
(
)
)
Insert cell
Insert cell
files
=
[
{
id
:
'lht'
,
name
:
'Projects'
,
isDir
:
true
}
,
{
id
:
'mcd'
,
name
:
'chonky-sphere-v2.png'
,
thumbnailUrl
:
'https://chonky.io/chonky-sphere-v2.png'
}
]
Insert cell
chonky_defaults
=
chonky
.
setChonkyDefaults
(
{
iconComponent
:
chonky_icons
.
ChonkyIconFA
}
)
Insert cell
folderChain
=
[
{
id
:
'xcv'
,
name
:
'Demo'
,
isDir
:
true
}
]
Insert cell
Insert cell
{
chonky_defaults
;
// Ensure our font is loaded
return
render
(
// We can use j-f1's JSX and depend on our imported React component!
(
)
=>
jsx
`<${
chonky
.
FullFileBrowser
} files=${
files
} folderChain=${
folderChain
}></>`
)
;
}
Insert cell
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
chonky
Show 2 comments
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
chonky_icons
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
files
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
chonky_defaults
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
folderChain
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML