Comments (10)
Would need canvas to reduce bit depth tho, or maybe css custom filter
from react95.
@tyler-reitz @goodmind I think something this simple would be great:
Avatar component is frequently used in AppBars as a user navigation or in chat apps so we could do something similar to material-ui avatar. Also it would be nice to implement the letter avatar too (that's great as a placeholder when user didn't set any profile pic yet) 😊
Maybe we could use canvas like @goodmind mentioned to apply some filters or slightly pixelate the circle edges but that's not essential.
from react95.
@goodmind yes it's a design. Just like any UI design you get from designers to convert it into something real. 😊
We are not attempting to exactly RECREATE Windows95 components. We are going to make them usable in the modern mobile / web apps. Thus, any help from UI / UX designers would be EXTREMELY appreciated. The challenge is to come up with new component designs / layouts that are broadly used in modern UIs, that weren't present back in 95.
from react95.
In #30 I added simple Avatar component with 'noBorder' and 'square' prop. What do you think? Maybe we could add pixelated / depth buffer / vintage effects as react hooks ? Then users could use it for whatever image they want, not only Avatar. What do you think?
from react95.
@arturbien but this isn't real app :P
from react95.
@arturbien thanks for the notes. That pixelated circle looks 👌 but I'm not sure there's any sane CSS to pull it off with. Maybe the recessed border from @goodmind's ex. would work instead?
from react95.
@tyler-reitz I looked this up the other day and it should be possible with a canvas.
from react95.
@tyler-reitz how would this border look on the circle?
from react95.
@goodmind probably not as good as the example provided by @arturbien. @maracuja-juice says the pixelated border effect is achievable with canvas anyway, so no need to fix what ain't broke.
from react95.
Added in #30
from react95.
Related Issues (20)
- Component Renaming and Organizing (align with react95-native and some Windows guidelines) HOT 2
- TypeScript migration
- ci: build-storybook fails intermittently on @beta
- build: enable preserveModules to main bundle so consumers can use tree shaking HOT 2
- build: fix TypeScript export for themes
- Add Balloon component
- [v4 beta] Hourglass not accepting "style" prop HOT 2
- [v4 Beta] dragging / touchmove is not working with Slider component HOT 2
- [V4] Make "menu" variants of Checkbox and Radio part of MenuListItem component
- [V4] Make MenuListItem tabbable / focusable
- [V4] Add support for MenuList checkbox and radio
- Update README for NextJS Apps HOT 1
- box-sizing: border-box issues
- Table overflows without scrollbars HOT 1
- Use :focus-visible instead of :focus on `<Button variant="thin">`
- Add time out for celebrate button HOT 1
- "Active" button not getting focused state (dashed inner border) HOT 4
- modal content new line
- Video player throws onChange handler error in React 18 Vite HOT 2
- Bump styled-components to v6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react95.