Hi all! We do have things like `TextField` and `Ba...
# compose
z
Hi all! We do have things like
TextField
and
BasicTextField
,
Text
and
BasicText
. But I can't seem to find the "Basic" version of a
Button
. That is - if I don't want to use the material buttons or library, is there a barebone composable for a button or I'd have to implement one myself?
👍 2
i
Hi! What is your use case that can't be accomplished using the material Button or a Surface?
k
Material is a design system, not the design system. Plenty of use cases where apps on mobile or desktop don't want that particular design system.
☝🏻 4
z
I don't have a use case right now. I'm just preparing my Compose samples (for a talk I'll be doing for the local Android community) and I was wondering if there's something like a
BasicButton
🙂
👍 3
z
Most components are simple enough you can make them from scratch, or just copy the material source and modify it. A button is basically a surface with some modifiers on it. The reason text fields have special versions is because text editing components are ridiculously complicated (I read somewhere that typically ~90% of a UI framework is just text editing logic) and it would be almost impossible to build working ones from scratch, and certainly unreasonable to expect app developers to do so for every app.
👍 2